luasql
Lua mysql, need a way to escape data
I need a way to escape data for mysql statements in lua.I\'m used to doing something like mysql_real_escape_string() in php but can\'t find an equivalent in lua using mysql (con:escape() worked when I[详细]
2023-03-12 20:21 分类:问答Compiling LuaSQL 2.1.1 on Ubuntu 10.04 for odbc
I can\'t get luasql 2.1.1 for odbc to compile out of the box, and I don\'t understand how to interpret the error. This is on Ubuntu 10.04, and unixodbc is successfully installed.[详细]
2023-01-28 07:17 分类:问答How do I close all open cursors in Lua?
What\'s the proper pattern to close all open cursors in a lua script before closing the db connection? I have a helper function rows() that is called in multiple places which creates cursors, on the f[详细]
2023-01-08 22:33 分类:问答Luasql and SQLite?
I just got started looking at Lua as an easy way to access the SQLite DLL, but I ran into an error while trying to use the DB-agnostic LuaSQL module:[详细]
2022-12-29 00:31 分类:问答UITableView isn't loading the data from my plist file what am i doing wrong?
Okay, so I have an app that I\'m trying to get to populate a UITableView with the contents of a plist file. I haven\'t been able to find anyone else having problems doing this and how they fixed it so[详细]
2022-12-18 09:42 分类:问答CSS - Margins a bad thing?
I\'ve noticed that some browsers have trouble with margins, especially when an element is floated. For example, this website I\'m doing looks fine in Firefox, but IE7 screws up the margins completely[详细]
2022-12-17 20:25 分类:问答