Heres a quick and dirty lowdown on how to populate a div with some data from a php file.
Lets say you have a php file called helloworld.php
And it contained:
1 2 3
<?php echo "Hello World!!!!"; ?>
Now, if you run this php file it will be a nice white page with just hello world in it.
What if you had a really cool website and wanted this data in a div on your website but you dont want to use frames etc.
Well, We can use Ajax to call your php script and then put any output from that script into any div you want on your webpage.
So on your html page put this code in:
1 2 3 4 5 6 7 8 9
The above will call the google Ajax library and create a function we can use to populate our div ( In this case the div will be called JEFF )