Parse Error (php)
#1

Hey, can anybody help me, I'm stuck and in a bit confuzzeled

I got a line of code here

Code:
echo ("<meta http-equiv=\"Refresh\" content=\"0; URL= $surl;"/>Thank You! You will be redirected");
and I'm wanting it to re-direct to a url i've specififed in a diff file, and I've put it there next to URL=$surl;

and I'm getting a parse error,

anybody know why?
:/
Reply
#2

PHP Code:
echo ("<meta http-equiv=\"Refresh\" content=\"0; URL=$surl\">Thank You! You will be redirected"); 
or just:
PHP Code:
echo ('<meta http-equiv="Refresh" content="0; URL=' $surl '">Thank You! You will be redirected'); 
Reply
#3

Thatsfor that Killerkid. it works.

Topic can be closed now thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)