Hi there,


I am trying to update a row in my MySQL database (I am an newbie)

It does not work, but the DB does not return an error.

Is there an error in the syntax??

// Create the user record
//--------------------------------------------------------------------------
------------------------------

if (!($newresult = mysql_db_query($DB, "

        update $T1
        set
                caption         =       $caption

        where name = $name
        ")))
{
        HEADER("Location:admin.php?content=edit_dataentry&errormsg=baduserrecord");
}
//--------------------------------------------------------------------------
------------------------------

Thanx for your help

Cheers

Andy


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to