Hello, this is very strange. I've got a very simple php include in the middle of an html document. I've told .htaccess to deal with php in html files. <?php include "file"; ?> PHP: The page displays fine in Firefox but IE cuts the page off where the code is....Yet I select View Source and it's kind of in there. Do you have any idea what could possibly do this? I've looked for the obvious but can't figure it out. Thanks, smart people.
A link would be more helpful. Is the text that you insert being integrated into the existing html properly?
I knew you'd respond. These surrounding InstanceBeginEditable tags just show it's location in the middle of a dreamweaver template. Like I said, it's working in FF. <div class="content"> <!-- InstanceBeginEditable name="Content" --> <?php include "guestbook/guestbook.php"; ?> <!-- InstanceEndEditable --></div> PHP: it's http://www.jamesgourlay.com/guestbook.html
The source code shows me that you are emmbedding a fully declared, well almost, html doc inside the main html page. <html> <head> </head> <body> <html> <head> </head> <body> </body> </html> </body> </html> Is basically what the browser has to deal with. You need to include the forms as sub-parts from the page, not the entire page.
Thank you so much, that was very stupid of me to miss. I guess I did notice it was doing that but didn't think about what effects it might have. You are awesome!