Posted by Richard Lynch on 03/08/05 18:50
Ross Hulford wrote:
> Is it possible to call a named anchor from within a php script?? I need my
> page to go to the point in the page where the form is and bypass all the
> rubbish.
If you are giving the user a link to that page, you can simply give them
the named anchor in the link:
echo "<a href=\"http://example.com/index.htm#goodstuff\">here</a>";
If you want to use PHP to read that page, and get only the HTML starting
at the anchor, you want http://php.net/strpos or http://php.net/explode to
tear apart the HTML at the anchor point.
--
Like Music?
http://l-i-e.com/artists.htm
[Back to original message]
|