OK so I've got a switch working fine and a simple query:
<?php if ($Brand) ?> which will display the code within it if any brand has been entered in the string.. perfect! however I'd like to add in an else show X
for example:
<?php if ($Brand) else echo ('HTML HERE') ?>
but not sure on the correct syntax and can't seem to find it on the net as most examples have if brand echo "code" else echo "code" but I don't need to echo anything for the first instance
<?php if ($Brand) ?> which will display the code within it if any brand has been entered in the string.. perfect! however I'd like to add in an else show X
for example:
<?php if ($Brand) else echo ('HTML HERE') ?>
but not sure on the correct syntax and can't seem to find it on the net as most examples have if brand echo "code" else echo "code" but I don't need to echo anything for the first instance