Can, you send insert statements through standard SQL, instead of using
special structures? Here is an example:


String loc;
loc="home";
Query query = con.query(); 
query << "insert into loacation (user_location) values('"<<loc<<"')";
query.execute();

 
Assuming of course that con is a type of Connection.



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to