Hi there,
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]'";
$result=mysql_query($query);
$row= mysql_fetch_assoc($result);
$query2="SELECT userlastname FROM members WHERE Username='$_SESSION[Username]'";
$result2=mysql_query($query2);
$row2= mysql_fetch_assoc($result2);
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,
Andrew

