Re: 'include' & anchors

From: Date: Mon, 21 Jan 2002 02:10:46 +0000
Subject: Re: 'include' & anchors
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-81309@lists.php.net to get a copy of this message
"A script to go to an anchor" - I don't know about that... If you need a _link_ to go to an anchor then you just need to echo the proper link (i.e. echo "blah.htm#anchor";). If you want a script to _redirect_ to an anchor then Emile is right: this is a client-side thing and you either have to go with JavaScript or with a META tag. Anyway, include() is definitely not the way to go. Bogdan Phil Schwarzmann wrote: > I want a script to go to an anchor in an html page > > This doesn't seem to work.... > > include "blah.htm#anchor"; > > ....how is this possible > > Thanks! > Phil in baltimore > > P.S. Pittsburgh sucks Bill Gates' balls.

« previous php.general (#81309) next »