RE: INSERT using C API

2002-06-18 Thread ???
Instead of using only mysql_query() you can use sprintf() and mysql_query() like this. sprintf(strquery, "INSERT INTO pending(mbmid, pw_name,pw_domain) VALUES('%s', '%s', '%s')", mbmID, Uname, Udomain); mysql_query(my_connection, strquery); -Original Message- From: rm [mailto:[EMAIL PRO

Re: INSERT using C API

2002-06-18 Thread Cliff Wells
On 18 Jun 2002 20:22:09 -0500 rm wrote: > Hello list, > > I'm new to C programming, and have used MySQL for only a short time; but > I've got a situation where I need to update an existing table using a C > function. > > I'm working on Redhat 7.1 using the MySQL rpm that came with the > package