SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2001
    Location
    North East, England
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Getting data from mysql

    Hi, I was just wondering if there was anything I could do about this.

    Say I want to get data from mysql useing a while loop and mysql_fetch_array() to print them out. If there is more records than room on the page the browser adds a vertical scrollbar and leaves you looking at the last record at the bottom of the page.

    Is there a way I can get the records but leave the browser viewing the top of the page?

    Thanks
    Lee

  2. #2
    SitePoint Wizard Defender1's Avatar
    Join Date
    Apr 2001
    Location
    My Computer
    Posts
    2,808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    dunno what browser your using, but first off, how it behaves at that point is client side, as that pertains to the html returned to the browser.
    and secondly, i've never seen anything automatically go to the bottom of a page.
    it always stays at the top when initially visiting.
    Defender's Designs
    I'm Getting Married!

    Not-so-patiently awaiting Harry Potter Book 7 *sigh*


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •