PHP - How do you hide specific content if $page = name
How do you hide specific content if $page = name
For example:
<?php
if ($page=='special'){
echo "<div>hello</div>";
}
?>
The above example will show the div if the $page = special. How do I do
the opposite of this, hide a specific div if the $page = something?
No comments:
Post a Comment