Thread: UPDATE Problems
View Single Post
03-12-2008, 02:32 PM
#8
VernonK is offline VernonK
VernonK's Avatar
Status: Junior Member
Join date: Jan 2007
Location: Western Maryland
Expertise:
Software:
 
Posts: 39
iTrader: 0 / 0%
 

VernonK is on a distinguished road

Send a message via MSN to VernonK

  Old

Is there an id column on the settings row? Is it a single row in the table? Can you do an
PHP Code:
<?php echo $s?>
and show us what you're actual query looks like that gets sent?

If there is an id column, I'm pretty sure the settings id would be 1 so...

PHP Code:
$s "UPDATE settings SET title = '$title', status = '$status', main_logo = '$logo', offline_text = '$offline', logo_left = '$left_logo' WHERE id = '1' "