I tried this but it doesn't work?
Ape.registerCmd ('newLogin', true, function(params, cmd) {
var sql = new Ape.MySQL("127.0.0.1", "root", "", "database");
sql.onConnect = function() {
sql.query("INSERT INTO table VALUES('1', 'a')", function(res,
errorNo) { });
}
//... some other code
});
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/