I am running into a problem with a redirection code I am using. I would like to redirect people to a special website where only registered people can read the article. I am checking for the content and want to let people go to the new page and they should take the "article variable" with them so that they would be able to read it immidiately.
Here is the code I used:
<?php if ($premium =='yes')
{
header("Location: [url]http://www.bparis2.com/premium.php&articleId=[/url]<?php echo $row["pk_aId"]");
}
And this is the error message i am receiving.
Parse error: parse error, unexpected '\"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/bparis/public_html/articles.php on line 21
Does anybody know how I can overcome this problem?
Thank you in advance
Andrea