SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jul 2000
    Location
    Odense - Denmark
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JavaScript, forms and PHP generated pages!

    HI!

    Ive have a page which is generated using PHP. The page is generated from userinput through a form. I then also have another window in which you can change something in my MySQL database. When this is changed, I want the original page to autoupdate. I have tried using javascript like:

    opener.location.reload();

    but then I dont get the original formdata reposted(I think!).
    Any bright ideas on how to acomplish this?

    Thanks in advance =:-)

  2. #2
    code addict Abstraction's Avatar
    Join Date
    Apr 2001
    Location
    Des Moines, IA
    Posts
    346
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You have the right idea. Do some testing to see if you are getting the right data in the original page or not. There may be a chance that there is nothing wrong.

  3. #3
    SitePoint Member
    Join Date
    Jul 2000
    Location
    Odense - Denmark
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just tested it. I dont get any of the variables posted by the form when it does the reload....
    Is there a repost function in JavaScript or something?


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
  •