GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 13-Dec-2006, 04:02
Richardknox Richardknox is offline
Junior Member
 
Join Date: Nov 2006
Location: Michigan
Posts: 83
Richardknox is on a distinguished road

Change page after a set amount of time.


Hello,

I am finalizing out my submittal page for my web site, and I am in need of a bit of help. After a visitor has pressed the submit button, I want to forward them to a thank you for your submittal page, and then after a preset amount of time, send them back to the main web page.

I do not know how to do this, and any help would be greatful.

Thanks,
Richard
  #2  
Old 13-Dec-2006, 04:13
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 730
admin will become famous soon enough

Re: Change page after a set amount of time.


You could do this a couple of ways, the easiest being a meta tag in your markup, something like this:

Assume this is thank-you.html...

HTML Code:
<html> <head> <meta http-equiv="refresh" content="13; url=http://www.example.com/" /> <title>Success!</title> </head> <body> <p>Thank you for submitting your details.</p> <p>Re-directing you to our <a href="http://www.example.com/">homepage</a> in 13 seconds...</p> </body> </html>
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
 

Recent GIDBlogNARMY by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
constructors/classes mapes479 CPP / C++ Forum 3 19-Nov-2006 17:34
My program can run,but warning were display on Vc++ fwongmc C Programming Language 5 08-Dec-2004 10:15
Revised--C/Pointers problem fwongmc C Programming Language 9 06-Dec-2004 11:25
C Pointer problem fwongmc C Programming Language 8 04-Dec-2004 12:34

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 04:00.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.