Re: [PHP-DB] SQL Error

2001-08-02 Thread Martin Lefebvre
Have you tried with NULL instead of '' the ContactID? On Thu, 2 Aug 2001, Steve Fitzgerald wrote: > I keep getting the following SQL error: > > You have an error in your SQL syntax near ')' at line 14 > > Line 14 is: '$FirstName', so the error must correspond to a different part > of the code.

Re: [PHP-DB] config php w/ mysql

2001-07-22 Thread Martin Lefebvre
When you execute your query, do like I do... $query = mysql_db_query($db, $query) or die(mysql_error()); the "or die(mysql_error())" will tell you what the mysql error is... On Sun, 22 Jul 2001, Darrell wrote: > I got mysql installed on my win2000 machine, and have apache running with > php 4