Hi All,
I am inserting header and footer.php files into my php scripts.
Im not having any problems when they are needed out on their own, but when inside statements i keep getting parse errors.
Could someone be kind enough to explain how to achieve this.
I have given an example below.
<?php
// Conver to simple variables
$username = $HTTP_POST_VARS['username'];
$password = $HTTP_POST_VARS['password'];
if((!$username) || (!$password)){<br>
include("header.php")
echo "Please enter ALL of the information! <br />";
include("footer.php")
exit();
}
--- SNIP----