Hi,
I am trying to edit my sql database as follows
my database is connected to, the table i wish to edit is called clients. the field i wish to update is called Name with a varible called $Name.PHP Code:$sql = "UPDATE clients SET Name='$Name' WHERE PrimaryKey=$clientid";
$result = mysql_query($sql);
However, i get a parse error.
What's wrong?




Reply With Quote