Updating the orders row on the success page
Hi guys,
Basically I have the whole cart working perfectly, however.
On the confirmation page I want it so it updates the orders field 'ordercompleted to '1', as initially we have set it to '0'.
However, i'm not able to grab hold of the session name needed .. i dont want to add the mysql_insert_id() function as someone might complete an order before them, getting the wrong row.
I guess the bottom line question is:
How do I update the orders row ON the checkout_success.php page?
(I'm using eCart with SagePay)
Thanks in advance!