I'm back!!!!!!!!!!!!
I have a small problem hoping you can help!
I have used variables variables to solve one problem and thought I could use it again for this problem.
I want to concatenate all my variables and test if they = "".
Here's where I stand:
for ($id = 1 ; $id <= 2 ; $id++)
{
$ans[] = "\$gift_".$id;
}
$junk = implode(".",$ans);
which results in
$junk= $gift_1.$gift_2
test the variable called junk against some logic like:
if ($pledge_amount == "" or
($pledge_amount >= "80" && $send_gift == "1" && $junk == "")
do something!
Any thoughts!