Let me explain my situation. I made a local website on Windows Using WAMP. I transfered my files to a MACBOOK, and i installed MAMP
For some odd reason When i submit a login form on Wamp, it shows me Blank page. I searched the internet and i found that my login.php file has html code inside because its a template, and my mamp works only if i have only php code in the login.php file For example:
THIS WAY IT WORKS:
<?php
echo "Hello World";
?>
THIS DOES NOT WORK:
<html>
<head>
HTML_CODE_FOR_WEBSITE_TEMPLATE
</head>
</html>
<?php
echo "hello world";
?>
Somehow mamp displays blank page because it thinks the code has errors HOWEVER. the code is 100% working, because it works 100% on Windows
Thanks in advance
<body>to show the message in. See htmlhelp.com/reference/html40/structure.html for an example what a HTML document should look like (it's HTML 4, but it doesn't really matter)