I'm having a slight problem...when trying to pass certain details to the payment gateway, such as the user's name and surname it is returning resource id...(not echoing as it should)...I tried a different method, using the below code and for some reason it is posting blank:
$query="SELECT userfirstname FROM members WHERE Username='$_SESSION[Username]'";
$query2="SELECT userlastname FROM members WHERE Username='$_SESSION[Username]'";
andthe part that actually posts to the gateway is this:
"x_first_name" => $row['userfirstname'],
"x_last_name" => $row2['userlastname'],
As far as i can tell the syntax is correct, but i could be completely wrong....
Any help would be very much appreciated,