List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:May 13 2003 5:34pm
Subject:RE: problem with C and mysql 4
View as plain text  
At 9:44 -0500 5/13/03, Marriner, Bruce W. wrote:
>	If you execute the insert query first does it fail?  Is the
>problem that it's dieing on a SECOND mysql_query command or is it
>related to the query itself.  Have you changed it so you execute two
>selects back to back or just different safe queries like "select
>count(*) from customers" to narrow the problem a bit.  Also like
>previously stated use the mysql_error() function to give you more
>detailed information.  The insert statement needs a space between the
>word "customers" and "(name)" but I'll assume that's not the problem :).
>Also, The book MySQL by Paul DuBois (Sams) is my official bible.  It's
>the best one I've read -- So you might skim over that at your local
>bookstore.  It's got a pretty good API section for C.

This particular chapter also happens to be online at the book's
companion web site: http://www.kitebird.com/mysql-book/

It's a PDF document.

>
>Bruce Marriner


-- 
Paul DuBois
http://www.kitebird.com/
sql, query
Thread
problem with C and mysql 4Carl B. Constantine13 May
  • Re: problem with C and mysql 4Dobromir Velev13 May
  • Re: problem with C and mysql 4Allen Grace13 May
  • Re: problem with C and mysql 4Paul DuBois14 May
  • Re: problem with C and mysql 4Fred van Engen14 May
RE: problem with C and mysql 4Bruce W. Marriner13 May
  • RE: problem with C and mysql 4Paul DuBois14 May
Re: problem with C and mysql 4Paul DuBois13 May
Re: problem with C and mysql 4Carl B. Constantine14 May
Re: problem with C and mysql 4Carl B. Constantine14 May
Re: problem with C and mysql 4Carl B. Constantine14 May
  • Re: problem with C and mysql 4Paul DuBois14 May