Phillip and David,
The output control functions worked perfectly. You saved me many hours of
frustration and wasted time. Thanks so much!
Rebecca
>From: David Robley <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "Rebecca Donley" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>Subject: Re: [PHP] Possible to buffer output to make HTML anchors work?
>Date: Fri, 14 Sep 2001 10:20:39 +0930
>
>On Fri, 14 Sep 2001 08:59, Rebecca Donley wrote:
> > Hi all,
> >
> > I am switching from VBScript/ASP to PHP and have run into a problem
> > with HTML anchors. My page has a list of links generated from a db.
> > The links reference a second page, which displays multiple records from
> > the db to include the referenced one. I need that page to load to the
> > selected record based on the link from the previous page, with the
> > other records ouputted before and after the selected record. Since the
> > selected record's location will vary on the page I need to use the html
> > <a href=name> anchors. The names of these anchors are also generated
> > from the database. The second page is loading to the top of the page,
> > regardless of the anchors, which appear correctly in the html source
> > code. I suspect this is because my include header files are being sent
> > to the browser before the anchors are generated.
> >
> > In ASP I could set the buffer to send the output to the browser all at
> > once, which would solve this problem (I think) but I can find nothing
> > similar in PHP. Is there anything? Or is there another way around
> > this problem?
> >
> > Thanks in advance for any help or suggestions.
> > Rebecca
>
>Output control functions may be what you are looking for.
>
>http://www.php.net/manual/en/ref.outcontrol.php
>
>--
>David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
>CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
>
> Even a hawk is an eagle among crows.
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]