Hi, I am wondering what I’m doing wrong.
I am using conditional IF statements to display specific text on a dynamic thank you page. Depending on the list a person is subscribed to, the text on the than you page will vary. However, certain text is the same across all lists. For instances where the text should be the same regardless of the list, I would like a simple IF statement, instead of having to keep using ‘elseif’ over and over again.
Here is what I have tried:
[code=php] <?php
if ($list_name==”list1″)
{
$list_name==”list2″;
$list_name==”list3″;
$list_name==”list4″;
$list_name==”list5″;
echo “So act now.”;
}
else
echo “”;
?>
However, nothing happens. Where the text “So act now.” should be, it is blank.
Thanks in advance for any help with this.
~minnie