the main variable i need is the $StatusCode ( for the particular payment system "0" means passed )
if this is successful this is
Code: Select all
if ($StatusCode == "0")any other values has failed and i just need to display a failed notification
I have a table in my database called Orders with a collumn called fullfilled this i where i want to update the $StatusCode value in to.
I can then make an if statement with the results based on the value of the column "fullfilled"
so i need to know how to update the table based on the results
thanks in advance