PHP Code: 
mysql_query("update wcddl_sites set name='" $newName "',url='" $newUrl "',rate='" $newRate "',email='" $newEmail "' WHERE id='"mysql_real_escape_string($sid) ."'"); 
try this
deAthbLisS Reviewed by deAthbLisS on . Updating the DB Well here's my code: $newName = $_POST; $newUrl = $_POST; $newRate = $_POST; $newEmail = $_POST; $reason = $_POST; mysql_query("update wcddl_sites set name='$newName',url='$newUrl',rate='$newRate',email='$newEmail' WHERE id='". mysql_real_escape_string($sid) ."'"); Rating: 5