Re: updates not working

From: Date: Fri, 21 Jul 2000 15:32:36 +0000
Subject: Re: updates not working
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-7584@lists.php.net to get a copy of this message
Beth Clark wrote: > > mysql_connect("$DBHost","$DBUser","$DBPass"); > mysql_select_db("db") or die( "Unable to select database"); > mysql("cal", "UPDATE Calendar > set > Event='$Event', > .. snip .. > End_Period='$End_Period', > where Event_ID='$Event_ID' "); Couple things: old: mysql("cal", "UPDATE Calendar try: mysql_query("UPDATE Calendar old: End_Period='$End_Period', new: End_Period='$End_Period' --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y More than just answers. Solutions. (SM) http://www.analysisandsolutions.com/ 4015 7 Av #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.general (#7584) next »