Hi all i have some coding and it goes like this:
<?
session_start(); // start session.
?>
<html>
<head>
and so on then i have:
<?
if(isset($username) | isset($password))
echo "you are already logged in!";
else
{
?>
than a form, then
</body>
</html>
Now if i remove the middle <? ..... ?> the page loads up, if i leave it in the page doesnt load, i dont understand why
😕
The page was originally .html but i had to change it to .php cause i had some problems with links (something do with php being stored on a different server to .html), anyways does anyone know what the problem is and how do fix it without removing the middle <?...?>
Many thanks
ceanth