Jump to content

using anchors in includes


jeff5656

Recommended Posts

I did some googling and it seems you cannot include a file with an anchor:

 

i.e include "hello.php#foo";

 

How do you guys go back to the middle of the page of an included file?  Do you just not include files with anchors?

 

I wanted to run my entire site inside index.php and just use includes to diplay the appropriate file, but I also need anchors to go to the middle of the page on some of those files.

 

 

Link to comment
https://forums.phpfreaks.com/topic/210465-using-anchors-in-includes/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.