O'SULLIVAN JOHN writes:
> Hi
> I am just starting to write my first client with MYSQL 3.23.39 under RH
> Linux 7.1 and I had the following code.
> The code compiles fine but the call to mysql_query( ) fails with following
> error 
> 
> 
>  I used the exact same query at the MYSQL prompt and it worked fine
> Could anyone please tell me where I am going wrong.
> 
> john
> 

First, you did not say what error. 

Second, before you execute mysql_query, shoot out a string to
stdout. You probably forgot to escape quotes or something similar.

-- 
Regards,
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, FullTime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
       <___/   www.mysql.com


---------------------------------------------------------------------
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