Hi I'm Bill. Just joined up. I'm having a brain fart when it comes to PHP and what not. I understand what the include function does. what i dont know is how to implement that in my page. I want to set up a PHP page exactly like an iframe, but without the iframe. say i have 5 links. link1 displays link1content.php in a table. link2 displays link2content.php in that same table removing link1content and so on just like an iframe would.
im understood that this code pulls a page and displays it exactly where i put it?
and this code interperets the URL?PHP Code:<?php
include "content.html";
?>
(got that info from here)PHP Code:<?php
include "pagedirectory/".$_GET["q"].".htm";
?>
any help would be greatly appreciated. thank you



Reply With Quote

Bookmarks