Wondering if anyone can help – I’m sure this was working before, but I can’t get a mysql update to work
$db->query("UPDATE entry_pending_details SET old_value = '{$value ["old_value"]}' WHERE id = '{$value ["id"]}'");
it’s clearly the variables not being recognised as if I drop hardcoded values in it’s ok.
Any ideas ?
Thanks
You have to use single quotes
'or escape double ones around array indices (like\"). I replaced double quotes with single ones