leeboycymru
Programmer
I keep getting this error:
mysql_fetch_assoc():supplied argument is not valid MySQL result resource in x on line 24.
And here is that code:
I dont know what the problem is, can anybody help?
Thanks
Lee
mysql_fetch_assoc():supplied argument is not valid MySQL result resource in x on line 24.
And here is that code:
Code:
$cxn = @ConnectToDb(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE);
$transLog = mysql_query("select * from tblTransLog where invoiceID = '".$stransID."'");
$row_transLog = mysql_fetch_assoc($transLog);
switch($row_transLog["transactionStatus"])
I dont know what the problem is, can anybody help?
Thanks
Lee