I am facing some issue with update in Mysql Php..
Here is the code I am using
$email = $_REQUEST['email'];
$name = $_REQUEST['name'];
$char ='this is chara'; //$_REQUEST['character'];
$des = $_REQUEST['des'];
$id = $_REQUEST['id'];
$sql_update = "UPDATE cast SET name ='".$name."',Gendor ='".$email."', character = \'ashokkumar2\',description ='".$des."' WHERE id = '".$id."'";
$result=mysql_query( $sql_update);
if ($result){
echo 1;
}