473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

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

Jul 16 '05 #1
2 1765

"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: fig000 | last post by:
Hi, I'm relatively new to Javascript so please bear with me on what might sound like silly questions. This is what I want to do: I'm working in classic asp (I have to for this project). I...
25
by: Sune A | last post by:
Hi All! I'm having problems with www.suneworld.com The thing is that I'd like to lock the width of the page, so that it won't adjust dynamically. Any CSS people out there that can help me? ...
4
by: Vincent Yang | last post by:
I'm using Access 2002. My database is in Access 2000 format. I'm designing a form to collect responses to a 40-item questionnaire. I can fit four list boxes on a screen, so I plan to have 11 tab...
19
by: Vijay Kumar R Zanvar | last post by:
Hi c.l.c. I think it's time that I bring it up. Over the last 2-3 months, I have been trying to build my C FAQ page which has around 40 C questions. Few of them have been adopted from c.l.c. ...
3
by: Kevin Gorski | last post by:
This question has been asked before, but there have been no definitive answers that I was able to find. Can the viewstate hidden input field be moved to a less prominent page location? On an...
10
by: hn | last post by:
Hi all, I have to design a quiz page which includes up to 200 questions. What users do is they start the quiz, go to page1 with question1, enter some answers, click next to go page2 with...
9
by: Alan Silver | last post by:
Hello, From my limited experience with ASP.NET (couple of weeks so far, much time wasted with stupid book), you can only have one form per page. If so, how do you handle the scenario where you...
1
by: Jeff | last post by:
I assume that this is an easy newby question... How can I conditionally force the code in a "if not page.ispostback sub" to run even if the page is posting back? More specifically, I have a web...
0
by: sowmyavsh | last post by:
Below is my asp.net code which should fetch the correct answer from the xml document. how can i store the xml attribute (i.e to an object or string)? it is throwing an error object reference not...
17
by: =?Utf-8?B?Y2F0aGFyaW51cyB2YW4gZGVyIHdlcmY=?= | last post by:
Hello, I have build a website with approximately 30 html-pages. When I search this website in Google, I see the index.html or home.html on this website, but also other html-pages on this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.