This is the query i am writing for updating the data.
$sql=makeSQL($myVals,$fieldsu,
"update users set",
"where id='".mysql_real_escape_string($_POST["PID"])."'");
But i am getting an error as
update users set'Amol','Kulkarni','amol@e10.in','amol','9870004268')Error Save [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Amol','Kulkarni','amol@e10.in','amol','9870004268')' at line 1]
Suggest me on this....