Linking from an include file

Hello- I’m creating a page that displays information from an include file. What I want to do is link from that include file to another file, but have it remain within the original page as well. What’s happening now, of course, is the link is opening its own whole new page. Is there a simple (fairly?) way around this? Thanks! Mark

Not sure what you are meaning by “linking”, but in PHP you could use…

<? include "file.php"; ?>

And it will display that file within whatever page. If you are just trying to get the VARS from a file, you can also use <? require "file.php"; ?> but as I said, I’m not real sure what you’re after.

Sponsor our Newsletter | Privacy Policy | Terms of Service