I am current learning to write PHP scripts and are trying to right a small simple script to display a web page with some embedded varibles if it receives the correct username and password. Everthing seems to be working OK except where ever I am trying to get the script to print a varibles value on its own. It's been adding a number 1 in front of each value when it prints.
Why?
A sample of the script is below, any help would be great. Excuse me for being so dum But i am only new to this.
<?PHP
if($Username == mre && $Password == bderm)
{
print((include('./head.inc'));
print($Title);
print(include('./title_foot.inc'));
print($Image_Name);
print(include('./image_foot.inc'));
print($Description);
print(include('./des_foot.inc'));
print($BER);
print(include('./foot.inc'));
}
else
{
print("<center><Font face=\"arial\" size=\"4\">You have entered a wrong Username or Password<br> please use the back button to go back and try again.</font>");
}
?>