View Full Version : Putting PHP files in "Div" positioning layers...


Xen0n
06-24-2003, 11:41 PM
Hello, Im trying to make a blog type thing. I want to put my post sytem in one of my Div layers.

The code I have thought might work:


<center>
<div style="position:absolute;left:158;top:86;width:441;height :272;overflow:auto">

<embed src="http://www.xen0n.org/cutePost/first.php">
</div>
<img src=blog.gif>


the page is: http://www.xen0n.org/blog.html

I think I might have to make my HTML file a PHP file?

zangerbanger
06-25-2003, 12:47 AM
Hm... I'm not too sure if you're using the right code. If you wanted your blog to be an include file, you'd either have to use SSI or PHP includes. It could look like either one of these:


<!--#include file="cutePost/first.php"-->


OR


<?php
include "cutePost/first.php";
?>