I want to make a conditional if statement that does this
if($get_['b']=="1") {
$offer1a=$offer1XXX;
$offer1e=$offer1YYY;
$offer2a=$offer2XXX;
$offer2e=$offer2YYY;
$offer3a=$offer3XXX;
$offer3e=$offer3YYY;
$offer4a=$offer4XXX;
$offer4e=$offer4YYY;
}
All the way to offer #12. It seems like a lot to write out. There are other values like $offer1b that I want left alone. What's the best way to do this. I think an array, but I'm unclear on how to get it done.