Click to See Complete Forum and Search --> : showing a page for a certain length of time


chuckdawit
11-20-2007, 12:50 PM
I want to show an html page that says "you have entered in the data to the databse" for just a short period of time before going to another page. Can anyone help me with this?

jasonahoule
11-20-2007, 12:51 PM
You can use the meta refresh tag to send the user to a new location or use javascripts setTimeout() function

kiwibrit
11-20-2007, 03:36 PM
Another alternative, if your web host supports php:


<?php
header('Refresh: 10; url=http://www.example.com/whatever.php');
echo 'you have entered in the data to the database';
?>

If you must have the .html extension you can set .htaccess so that html is parsed as php, assuming you are using an Apache server..