Hi,

I am trying to edit my sql database as follows

PHP Code:
$sql "UPDATE clients SET Name='$Name' WHERE PrimaryKey=$clientid";
$result mysql_query($sql); 
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.

However, i get a parse error.

What's wrong?