when inserting data
Posted by: Jan (---.sympatico.ca)
Date: July 11, 2006 05:53AM

I have created an html file where I can enter names, addresses, etc. When I click on button Send, it calls in the other file which is PHP and it then automatically inserts them into MYSQL database. While my screen is still at the php mode or where it still says //localhost/insert.php on the address bar, when I click on Refresh button on the browser, i get the following message:

"The page cannot be refreshed without resending the information. Click Retry to send the information again......"

Is there a way to make the browser go back to the form page (htm) after I click on a 'Send' button ?

Thank you.

smiling smiley

Options: ReplyQuote
Re: when inserting data
Posted by: CyberSpatium (67.170.181.---)
Date: July 11, 2006 07:49AM

header("Location: index.html"winking smiley


Options: ReplyQuote

Sorry, only registered users may post in this forum.