PHP: problem updating mysql database

hi all,
basically ive integrated the update.php into a page callef requestdetails.php, everything looks fine regarding the code, ive tried 3 hours of trial and error, chopping and changing and i keep getting an error everytime:

*(“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 ‘desc=‘this is the code typed in from the textbox’ WHERE uploadid=‘5’’ at line 1”)

*Heres my code (connect to database is included in header, it connects because error message is showing results:

if (isset($_POST[‘Submit’])){

$newdesc = $_POST[‘description’];
$upid = $_POST[‘up_id’];

$editdesc = mysql_query(“UPDATE uploadref SET desc=’” . mysql_real_escape_string($newdesc) . “’ WHERE uploadid=’$upid’”)
or die(mysql_error());
if ($editdesc){
$success_msg = ‘<font color="#009900">Your About section has been updated.</font>’;
} else {
$error_msg = ‘<font color="#FF0000">Problems connecting to server, please try again later.</font>’;


[LEFT]**Pleasee please can someone help me on this, im goin to put my pc into intensive care ahah!