This is the backend switch:
[php]
<?php
switch ($_GET['seo'])
{
case "Global SEO Services";
$url = "http://www.globalseoservices.com";
ob_end_clean();
header("Location: " . $url);
break;
default:
echo "Invalid page";
break;
}
?>
[/php]
This is the frontend - and it is awful
[php]
<?php
$data = "seo";
?>
<p><a href="http:php.php?data ="htmlspecialchars . urlencode($data) "">Global SEO Services</a>
</p>
[/php]
I can't seem to get it pathed right, anyone know what to do.
Michael