Well here's my code:

PHP Code: 
                    $newName $_POST['sName'];
                    
$newUrl $_POST['sURL'];
                    
$newRate $_POST['sRate'];
                    
$newEmail $_POST['sEmail'];
                    
$reason $_POST['sReason'];
                    
                    
mysql_query("update wcddl_sites set name='$newName',url='$newUrl',rate='$newRate',email='$newEmail' WHERE id='"mysql_real_escape_string($sid) ."'"); 
It's just not doing that..........?

Any ideas?
Chris2k Reviewed by Chris2k 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