PDA

View Full Version : Webshop Refund SQL



ezramod
07/04/2015, 01:16 AM
Hello, im new in this forum for the first time i want to say HELLO.
I have little problem with my website/webshop and refund items, the problem is this:

If player try to sold back for the first time appear this error:
Warning: mssql_fetch_array(): supplied argument is not a valid MS SQL-result resource inC:\AppServ\[Only registered and activated users can see links] on line 63

and in line 63 is this: $res = mssql_fetch_array(mssql_query($query));

and item cannot be refund

if i remove function for verify if item dissappear from vault script work give credits but item no dissappear from inventory.

BUT attention after first time script work, give credits and delete items from dissappear

this is my code:


<?php
//ini_set('display_errors',1);//ini_set('display_startup_errors',1);//error_reporting(-1);
[Only registered and activated users can see links]
}?>

please take a look

please take a look