$onsale = $row["15"];
if($onsale == Yes) {
?>
<input type="hidden" name="amount" value="<? echo $row["16"]; ?>">
<?
} else {
?>
<input type="hidden" name="amount" value="<? echo $row["9"]; ?>">
<?
}
?>
now that is for a paypal add to cart script that I'm using, and the same if statement is working is working when it's displaying the part to be purchased etc.
but that is not working it's always using the 2nd option, any ideas on why that is? ?
thanks alot...