SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 1999
    Location
    Singapore
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi! I'm really happy about the tutorial, except for a small problem I encountered in chapter 7, and I've asked for help in another thread.

    In the joke database management system, after adding an author, and viewing the author list, the recently added author wont be shown unless you manually refresh the page.

    One solution would be to change the link to the author list from <A HREF="authors.php>Return to Authors list</A></P> to <A HREF="authors.php?t=<?php echo (time()); ?>">Return to Authors list</A></P>

    This will cause the browser to retrieve a fresh copy of authors.php

    Maybe it could be added in, because not having the newest author's listed did get me confused at first.


    Adolescent Adulthood - Learn All ABout Flirting, Dating And Dumping.

  2. #2
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    This problem only manifests itself on some browser/server combinations, but you're quite correct. Adding a parameter that 'freshens' the URL for each request will do the trick. I'll consider this for a future update to the article.
    Kevin Yank
    CTO, sitepoint.com
    I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
    Baby’s got back—a hard back, that is: The Ultimate CSS Reference


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
  •