Thanks, that worked but now when I try to perform a chargeback test it returns as:
Code:
HTTP/1.0 200 OK
Date: Wed, 08 May 2013 16:31:41 GMT
Server: Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
X-powered-by: PHP/5.3.1
Content-length: 583
Content-type: text/html
Connection: close
OK<br />
<b>Warning</b>: mssql_query() [<a href='function.mssql-query'>function.mssql-query</a>]: message: The UPDATE statement conflicted with the FOREIGN KEY constraint "PremiumGrade_Account_FK1". The conflict occurred in database "GunzDB", table "dbo.PremiumGrade", column 'PGradeID'. (severity 16) in <b>C:\xampp\htdocs\paymentwall.api.php</b> on line <b>12</b><br />
<br />
<b>Warning</b>: mssql_query() [<a href='function.mssql-query'>function.mssql-query</a>]: Query failed in <b>C:\xampp\htdocs\paymentwall.api.php</b> on line <b>12</b><br />