on 8/1/01 11:35 AM, Chris Worth at [EMAIL PROTECTED] wrote: > > > hey gang. > > here is my sql statement from my php script. > > $sql = "UPDATE TABLE seminar SET > title=$title,speaker=$speaker,event_date=$tdate,time=$time,bldg=$building > ,rm=$room WHERE id=$id"; > strings in a mysql query need to be quoted. So change it to $sql = "UPDATE TABLE seminar SET title='$title',speaker='$speaker',..."; Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] Sorry... but a good PHP editor for Linux/Uni... Augusto Cesar Castoldi
- RE: [PHP] Sorry... but a good PHP editor for ... Ben Bleything
- Re: [PHP] Sorry... but a good PHP editor ... Rouvas Stathis
- Re: [PHP] Sorry... but a good PHP editor for ... Mauricio T?llez Jim?nez
- Re: [PHP] Sorry... but a good PHP editor for ... Sheridan Saint-Michel
- Re: [PHP] Sorry... but a good PHP editor ... Ezra Nugroho
- Fw: [PHP] Sorry... but a good PHP editor for ... Chris Schneck
- [PHP] SQL syntax error in PHP script. du... Chris Worth
- RE: [PHP] SQL syntax error in PHP scr... Matt Greer
- RE: [PHP] SQL syntax error in PHP... scott [gts]
- RE: [PHP] SQL syntax error in PHP scr... Sam Masiello
- RE: [PHP] SQL syntax error in PHP... scott [gts]
- RE: [PHP] SQL syntax error in PHP... Chris Worth