I use a template page and then split out the middle of the page to do my PHP
stuff depending on a variable I pass to it.
I have a problem I hope someone can help me on.
The template page has a meta refresh in the header set for 60 secs. One of
the things this page does is insert data into a MySQL database. The problem
is once it is finished it displays the same form used to enter the data in
the MySql database for another record to be added if you wish...here comes
the problem. After the first insert, the data form is redisplayed, but after
the 60 secs and the refresh takes place it runs the last insert again. If
the user just leaves that page up, every 60 secs it will insert another
record every 60 secs.
I was thinking there may be a mechanism to redirect to a different URL after
the database insert, but I do not know how to do that. I want to keep the
meta refresh because there is a lot of dynamic data displayed on the
template page that changes. Which is the reason for the Meta Refresh to
Christopher J. Crane
Network Operations Manager
IKON Office Solutions