The following code doesn't do what I want it to do. If portal = 1, it prints out the html with the table. If portal = 2, it still prints out the html with the table. Why won't it print "other stuff" when portal = 2?
if ($portal = "1") {
echo <<<QWE
<div class="table1">
<table width ="500" border="0">
<tr>
<td class="text">
<div style="font: bold 14pt;">Wood Hearths</div><br />
<a href="products.php?brand=empire_wood">Empire Products</a><br />
<a href="products.php?brand=mvc_wood">Majestic Vermont Casting Products</a></br>
<a href="products.php?brand=accessories_wood">Wood Hearth Accessories</a><br /> <br />
<div style="font: bold 14pt;">Gas Hearths</div><br />
<a href="products.php?brand=empire_gas">Empire Products</a><br />
<a href="products.php?brand=mvc_gas">Majestic Vermont Casting Products</a></br>
<a href="products.php?brand=accessories_gas">Gas Hearth Accessories</a><br /> <br />
</td>
</tr>
</table>
</div>
QWE
;
} elseif ($portal = "2") {
echo "other stuff";
}