Code: Select all
<?php
$sql = "UPDATE customers SET vendor_id=$vendor_id WHERE customers_id=$customer_id";
$sql_update = mysql_query($sql) or die(mysql_error());
?>I tried including this in the original statement, but the original is a pre-made shopping cart and trying to set it up the same way the initial programming is like didnt' seem to add any information to the database. thanks for help!