Below is the code that I am using. The $szIsApproved variable will either be a 1 for approved or a 0 for declined. If delined it should echo a message and exit. But it echos the declined message and exits no matter what the variable is. I echoed the variable just to make sure a responce was there and it was. Any help you be appreciated.
if ("'. $szIsApproved .' == '0'") {
echo "Your Card was Declined";
exit:
}
Thanks,
Chris