Page 1 of 1

(SSI) After Include One File, No More Formatting

Posted: Fri Jan 17, 2003 7:22 am
by sane993
Hello. Very Simple Script

Code: Select all

<HTML>
<HEAD>
<TITLE> Bob </TITLE>
</HEAD>

<BODY>
<!--#include file="bob.htm" -->
<!--#include file="numbers.php" -->
</BODY>
</HTML>
It includes bob.htm fine. But after Bob nothing is formatted anymore. Even when I throw in a hundred <BR> or even <HR> tags after

Code: Select all

<!--#include file="bob.htm" -->
nothing happens, like it dies during bob.htm. Bob.htm is just a few tables and start with <TABLE> and ends with </TABLE> (I'm pretty sure I dont need to include <HTML><HEAD> etc..

Any help?

Posted: Fri Jan 17, 2003 7:30 am
by twigletmac
Have you checked the source of the outputted page?

Mac

Posted: Fri Jan 17, 2003 7:34 am
by sane993
I did just then and it ends at the end bob.htm therefore it doens't go on to formatting numbers.php or doesn't even finish the main script (</BODY></HTML>) which is very strange. I tried swapping the include files around so they were included in a different order and the same thing....at end the first file it dies.

Posted: Sat Jan 18, 2003 5:41 am
by sane993
Okay I worked out the solution. It was because the file extension was .htm instead of .htm :? Thanks for help Guys :P