Syntax Help

From: Date: Thu, 14 Nov 2002 09:22:13 +0000
Subject: Syntax Help
Groups: php.general 
Request: Send a blank email to php-general+get-124392@lists.php.net to get a copy of this message
Whats wrong here ?? The variables are getting the correct information from the form but for some reason as soon as I put the variables into the $sql they dont post the proper data to the database, its connecting to the database ok but just not updating the data. $sql = "UPDATE updates SET member= '{$_POST['mem']}', email= '{$_POST['email']}', position= '{$_POST['pos']}', dateadded= '{$_POST['dateadded']}', descp= '{$_POST['descp']}', message= '{$_POST['message']}' where id= '{$_POST['id']}'"; $result = mysql_query($sql); Lee

« previous php.general (#124392) next »