View Single Post
Old 07-10-2008, 01:01 AM  
Azathoth
Confirmed User
 
Join Date: Nov 2002
Location: Blah
Posts: 217
Quote:
Originally Posted by Emil View Post
I got a fucking weird html error and it's driving me nuts.

I got a bit of html-table code. It's working fine if I add it in the index.php-file.
But if I save the same bit of code in toplist.html

and replace the part in the index.php-file with:
<?php include "./sloth_toplist/toplist.html"; ?>

The table gets fucked up. But it's the same fucking HTML-code!

Any idea what can cause this? There's no extra spaces or linebreaks...

Your server probably only parses PHP in .php files, not .html files. Rename the file to a .php and it will work (or reconfigure your server).

- Az
Azathoth is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote