hey all,
I have a guestbook, which is made up of a form.php and a entries.php file.
I have a mainpage.php which includes form.php which includes entries.php.
When the form is submitted, the action is the PHP SELF one (cant remember correct spelling).
The form submits the data and writes it into entries.php, but the entries.php file is not refreshed untill either the URL of the page it retyped or the form is submitted again - in which case the form would do the same with that newly submitted entry.
is there anyway to refresh the included entries.php when the form is submitted?
thanks.