This is the code I have got:
<?phpecho // Include the database connection file. if($_GET['debug']=='testmode') // add ?debug=testmode for diagnostics { $debugit=1; $debugpar='?debug=testmode'; } else { $debugit=0; $debugpar=''; }
The error I am getting is:
Parse error: syntax error, unexpected T_IF in /home/***/public_html/project/calculator.php on line 4
Does anybody understand why it is not working. The only thing I can understand is the it doesn't notice the closing and opening tag.
Edited by Pwdrin, 06 January 2009 - 03:41 AM.