Parse error: parse error, unexpected T_VARIABLE on line 6
Heres my code:
Code: Select all
<?php
$title = $_GET['$title'] . "\n";
$comment = $_GET['$comment'] . "\n";
$str = $title . "\n" $comment . "\n";
$fp = fopen("./loggin.txt", "a+");
fputs($fp, $str);
fclose($fp);
?>