Okay, so here's the dilemma. I've got the following code;
Code:
$read = "<SCRIPT LANGUAGE\=\"JavaScript\">
window.location\=\"http://www.thatcommunity.com/member.php?u=$bbuserinfo[userid]\"\;
</script>";
Now, The problem is I need to make it so the page redirects to a different page when that file is loaded! Here's how I have it setup -
Code:
$content_add = "<html>
<head>
<?php
echo $read;
?>
</head>... etc
Basically, I need to know how to edit the TOP code to be read with the echo code I'm pulling - I keep getting this error,
Quote:
Originally Posted by stupid variables
Parse error: parse error, unexpected '<', expecting ',' or ';' in /home/domainremoved/public_html/usernameremoved/index.php on line 4
|
Thanks in advance!