$query = 'UPDATE parts SET
part = '.$part_type.',
manufacturer = '.$part_manufacturer.',
model = '.$part_model.',
warranty = '.$part_warranty.',
wholesale_cost = '.$part_wholesale_cost.',
retail_cost = '.$part_retail_cost.'
WHERE parts.part_id = "'.$HTTP_SESSION_VARS['edit_part_id'].'" LIMIT 0,1';
$result = mysql_query($query) or die('Error: Could not update part information.<br>'.mysql_error());
O, um on the topic of compatability... the "or die()" tagged onto the mysql_query().. anyone have any clue on how far back in php versions that will work?
__________________
Error checking, error reporting, and error recovery. If your code does not have these to get it to tell you why it is not working, what makes you think someone in a programming forum will be able to tell you why it is not working???