Hello
I have this redirect code set up on my website, but when I try to access the payday link browser returns a unexpected T_CONSTANT_ENCAPSED_STRING, expecting ‘)’
Can someone look at the code below and give suggestions as to what may be wrong. Also there is an .htacces file set up for this code.
many thanks!
[php]<?php
$path = array(
‘payday' => ‘http://garronel.103.clicksurecpa.com’,
);
if (array_key_exists ($_GET['id'], $path))
header("Location: " .$path[$_GET['id']]);
?>[/php]