Hi every one i am getting this error
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING
on this statement
i tried so many time but no help is there anyone who can fix it
$sql="INSERT INTO donors(donor_id, name, gender, dob, weight, height, conid, statid, cityid, bloodid, email, phone, mobile, address, privacy) VALUES ('.mysql_real_escape_string($_SESSION['donorid']).', '.mysql_real_escape_string($_SESSION['dname']).', '.mysql_real_escape_string($_SESSION['gender']).', '.mysql_real_escape_string($_SESSION['dobbirth']).', '.mysql_real_escape_string($_SESSION['weight']).', '.mysql_real_escape_string($_SESSION['height']).', '.mysql_real_escape_string($_SESSION['country']).', '.mysql_real_escape_string($_SESSION['state']).', '.mysql_real_escape_string($_SESSION['city']).', '.mysql_real_escape_string($_SESSION['bloodgrps']).', '.mysql_real_escape_string($_SESSION['email']).', '.mysql_real_escape_string($_SESSION['phone']).','.mysql_real_escape_string($_SESSION['mobile']).', '.mysql_real_escape_string($_SESSION['address']).', '.mysql_real_escape_string($_SESSION['privacy']).')";
$result=mysql_query($sql);