Quote:
Originally Posted by andynov123
If I view my page as a .html file on my computer, the layout looks fine and runs fine. If I view the file on the localhost as .html file it is also fine, but if I load the page as a .php file on the localhost server then the page crashes (extreme lag)and my web layout is all jumbled on the page?
What should I do?
|
Would you send me that .html file so that I can check for you.
Before you convert it to .php file, you should define php syntax at the top of the file itself.
Eg.
<?php
//php scripts starts here
?>
<html>
<head><title>......</title></head>
<body>
<!-- Then proceed with you htm tags here -->
</body>
</html>