By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,216 Members | 1,013 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,216 IT Pros & Developers. It's quick & easy.

Web Page Up Question in PHP

P: n/a
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...

Jul 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"Ralph Freshour" <ra***@primemail.com> wrote in message
news:s6********************************@4ax.com...
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...


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).
Jul 16 '05 #2

P: n/a
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."
<yo**************************@yahoo.com> wrote:

"Ralph Freshour" <ra***@primemail.com> wrote in message
news:s6********************************@4ax.com.. .
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...


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).


Jul 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.