Heres my code, which is in the head section of the page(yes, its saved as .php):
<?php
if (isset($_GET['category']))
{
if ($_GET['category'] == "property" )
{ $property_link = "<span>Property</span>"; $rentals_link = "<a href="listingstest.php?category=rentals">Rentals</a>";}
else {
$rentals_link = "<span>Rentals</span>";
$property_link = "<a href="listingstest.php?category=property">Property</a>";
}
}
else{
$property_link = "<a href="listingstest.php?category=property">Property</a>";
$rentals_link = "<a href="listingstest.php?category=rentals">Rentals</a>";
}
?>
I get a BLANK SCREEN as an output. I assume its just a simple thing, but for the life of me I just don't see it.
Anyone?