What I did is first:
$q = "select User_Country from table where
User_ID = $User_ID";
if ($r=mysql_fetch_object($res)){
echo "<input type=Hidden name=Country value= $r->User_Country>";
}
\\ I also tryed with mysql_fetch_array
So far so good !
Now the if thing:
if ($User_Country == "$Country "){
$VAT_Amount = "19 * $All_Total_Order/ 100";
}else{
$VAT_Amount = "xxxxx.xx";
}
echo "$VAT_Amount ";
I know I mis something somewhere but I can't find out what exactly..
I don't get any ERROR, but it seems it doesn't recognize $Country (I print it right in the Hidden field).
If somebody out there can help me, I'll appreciate.
Thanks,
Erick.


