The problem I have is this.
I have page index.php (base name="index") From ther I go (new window) to library.php
library.php has a form. the target of the form is library_update.php. When Library_update.php ends ther is a header("Location: that returns to the library.php
So far it works perfect. The problem is that I want to refresh index.php when I push the submit button in library.php OR befor the header("Location: in library_update.php OR when I exit the library.php.
If anywone cam help me I will apriciate.
Thanks anyway.
Problem with refresh on page
Moderator: General Moderators
It's JS and not PHP....
I think that you need to add to your form: (http://javascript.internet.com/buttons/ ... utton.html)
OR(http://grizzlyweb.com/webmaster/javascripts/refresh.asp)
I think that you need to add to your form:
Code: Select all
onSubmit="top.history.go()"OR
Code: Select all
onSubmit="top.location.href='index.php'"