slang-users mailing list

[2003 Date Index] [2003 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-users] Mysql and SLang


Has anyone wrapped Mysql for use in SLang? I'm having quite a bit of troubles making
the MYSQL structure available for passing around in SLang code.

What I want to be able to do is something like:

import("mysql");
variable conn = mysql_init(NULL);
mysql_connect(conn, "host", "user", "pass");
mysql_query(conn, "SELECT * FROM names");
variable res = mysql_use_result(conn);

... etc ...

I don't need access to the MYSQL structure (conn in this case) I just need
to be able to pass it around.

Thanks.

Jeremy


_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html


[2003 date index] [2003 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]