- Subject: [slang-users] Mysql and SLang
- From: Jeremy Cowgar <jc@xxxxxxxxxx>
- Date: Mon, 29 Dec 2003 13:08:38 -0500
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]