SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Aug 28, 2001, 03:23 #1
- 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 =:-)
-
Aug 30, 2001, 08:18 #2
- 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.
-
Aug 31, 2001, 01:27 #3
- 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