
Originally Posted by
jurn
Is your CMS using the "replace into" mysql syntax to do these updates?
Nope. Here's a snippit:
PHP Code:
$ra_success = mysql_query("
UPDATE
my_items
SET
hr_element = '$hr_element',
item = '$item',
item_desc = '$item_desc',
ref_cat_id = '$category_id'
WHERE id = '$id'",
$connectID)
or die ("ERROR_77 - Unable to Update record.".error_get_last().mysql_error($connectID));
If your unique/pk for the table in question is different, you may get different results.
I'm not familiar with the "pk" term. my connection id?
Could this be effected by php.ini settings, or .htaccess, or by cPanel?
Bookmarks