I am going crazy trying to get a simple jump script setup for affiliate links.
I keep getting the following error.
PHP Parse error: parse error, unexpected T_STRING in Line 2
on the following script:
Quote:
<?PHP
if ($o == "l1") {$link = "http://www.example.com";} // Default link
if ($o == "l2") {$link = "http://www.anotherexample.com";}
header("Location: $link"); // Jump to the hiddden URL above
exit();
?>
|
Anyone have any idea what could be wrong here?