I see what you mean -
What I've done now is split my page into 2 sections:
about.php
and
sidebarlinks.php
And it sidebarlinks.php which has the following code above as you've advised, with:
I'm wondering, does that still cause an infinite loop since sidebarlinks.php forms part of about.php?Code:$file = file_get_contents("about.php");
What I would like is for sidebarlinks.php (or some code within about.php) to just search the html part of the page for the anchor name tags and then output the a href tags.




Reply With Quote