Hello all, I am just starting to learn about php scripts and have a questions regaurding how to display a link to another php script on my home page with out having to click on a link to view the page. In other words, I want to display the contence of the webpage in a small box in the right corner of my website without frames. Here is a link to an example of my website http://www.nerdclub.net/alp/test/index.php and am wanting to display the contence of a remote php script in one of the dark green boxes on the right side of the web page. Thanks in advance.
You can include a remote script and its output will be integrated into the output of the including script at the location of the include. For example:
echo '<table><tr><td></td><td></td><td>'; include 'http://example.com/test.php'; echo '</td></tr></table>';
will result in the output of the remote script being displayed in the righthand cell.
you can also use frames for this.
thank you very much, work great except after I add the code, all the other cells that contain text are altered and the text is not displayed. I will have to mess around with it for a while to figure it out, Thanks again.
PS> how would I use frames?
Use an iframe and set it's source to the remote script.
I really hope you realize that the code I posted was just for example, to show that whichever cell you place the remote include statement in will display the output of the remote script.