The following code:
<?php
if ($_SERVER['REQUEST_METHOD'] != 'POST'){
$self = $_SERVER['PHP_SELF'];
?>
Generates this error:
Parse error: syntax error, unexpected $end in /home/idghosti/public_html/testground/mma/include/header.php on line 26
What is wrong with my code?