y2yang Posted January 26, 2010 Share Posted January 26, 2010 hello, can somebody help me here? Am I using the referrer correctly here? It's not working. I'm having syntax error. Link to comment https://forums.phpfreaks.com/topic/189858-echo/ Share on other sites More sharing options...
jl5501 Posted January 26, 2010 Share Posted January 26, 2010 you are echoing a double quoted string inside a double quoted string So, either escape the inner double quotes, like \" or use single quotes for the echo Link to comment https://forums.phpfreaks.com/topic/189858-echo/#findComment-1001839 Share on other sites More sharing options...
anupamsaha Posted January 26, 2010 Share Posted January 26, 2010 Change your statement as follows: echo "<META HTTP-EQUIV=\"refresh\" content=\"0;URL=(.$session->referrer)\">"; Thanks! Link to comment https://forums.phpfreaks.com/topic/189858-echo/#findComment-1001862 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.