Hello. I have a script that returns this error: Parse error: parse error, expecting T_VARIABLE' or'$'' in /post.php on line 5. Here is the code:
<?php
$filename = "$DOCUMENT_ROOT/view.txt";
$date = time();
$loc = $REMOTE_ADDR;
$1 = "<table width="75%" border="0" bgcolor="#999999"><tr>";
$2 = "<td bgcolor="#FF9900"><table width="100%" border="0"><tr><td>$nume $prenume</td><td>$date</td><td>$loc</td></tr></table></td></tr>";
$3 = "<tr><td height="194" bgcolor="#999999"><table width="100%" border="0"><tr><td>Email: $email</td><td>Site: $site</td></tr></table><table width="100%" border="0" height="168"><tr><td>Mesaj: $mesaj</td></tr></table></td></tr>";
$filed = @fopen($filename, "a+");
@fwrite($filed, "$1 $2 $3");
fclose($filed);
$msg = "<p>Data Input complete</P>";
?>.
Any ideas?