Probably a quote problem, or you are adding a ; at the end. The mysql_error() output after the failed query would tell you exactly. Much easier than asking here.
-Rasmus On Fri, 9 Aug 2002, Liam Gibbs wrote: > Is there any reason why a MySQL query won't run > properly in a mysql_query command, but will run > properly when I put the *exact same* statement into a > textbox that inputs into a mysql_query command? > > __________________________________________________ > Do You Yahoo!? > HotJobs - Search Thousands of New Jobs > http://www.hotjobs.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php