Web Page Up Question in PHP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ralph Freshour

    Web Page Up Question in PHP

    I create a web page in PHP (pulling data out of MySQL, etc.) - anyway,
    the page is about 2 to 3 pages long and when it's done rendering, the
    position of the page is at the bottom - what command can I use with
    PHP to cause the page to reset back to the top?

    Thanks...

  • Randell D.

    #2
    Re: Web Page Up Question in PHP


    "Ralph Freshour" <ralph@primemai l.com> wrote in message
    news:s62llvs270 c5q3opthk46pkgd jj1qvsi24@4ax.c om...[color=blue]
    > I create a web page in PHP (pulling data out of MySQL, etc.) - anyway,
    > the page is about 2 to 3 pages long and when it's done rendering, the
    > position of the page is at the bottom - what command can I use with
    > PHP to cause the page to reset back to the top?
    >
    > Thanks...
    >[/color]

    The problem I believe is not PHP related - you might need some javascript -
    or else place a hyperlink to the top of your document using the <A HREF and
    <A NAME tags so that when the link calling the page is displayed, that it
    goes automatically to the top of the page.

    Also - are you using frames? If you are, this might be part of the problem
    (I read a post on this recently but didn't read the workaround).


    Comment

    • Ralph Freshour

      #3
      Re: Web Page Up Question in PHP

      No, no frames being used - I thought there might be a 'page up' or
      'home' method that I could call to reset the web page to the top...


      On Sun, 07 Sep 2003 06:38:50 GMT, "Randell D."
      <you.can.email. me.at.randelld@ yahoo.com> wrote:
      [color=blue]
      >
      >"Ralph Freshour" <ralph@primemai l.com> wrote in message
      >news:s62llvs27 0c5q3opthk46pkg djj1qvsi24@4ax. com...[color=green]
      >> I create a web page in PHP (pulling data out of MySQL, etc.) - anyway,
      >> the page is about 2 to 3 pages long and when it's done rendering, the
      >> position of the page is at the bottom - what command can I use with
      >> PHP to cause the page to reset back to the top?
      >>
      >> Thanks...
      >>[/color]
      >
      >The problem I believe is not PHP related - you might need some javascript -
      >or else place a hyperlink to the top of your document using the <A HREF and
      ><A NAME tags so that when the link calling the page is displayed, that it
      >goes automatically to the top of the page.
      >
      >Also - are you using frames? If you are, this might be part of the problem
      >(I read a post on this recently but didn't read the workaround).
      >[/color]

      Comment

      Working...