Jump to content

update


yogibear

Recommended Posts

Hi can anyone see whats wrong with this code when I remove clientref and ourref it works. I dont get any errors and the records dont update.

 

$customer = $_POST[customer];
$clientref = $_POST[clientref];
$ourref = $_POST[ourref];

mysql_query ("UPDATE salesledger SET customer = '$customer', clientref = '$clientref', ourref = '$ourref' WHERE ourref = '$_POST[ourref]'");

echo "1 record updated";

 

Thanks for help

yogi

Link to comment
https://forums.phpfreaks.com/topic/69644-update/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.