HTML & WEB-Design

Moderators: Jonathan
Number of threads: 1249
Number of posts: 3348

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
how to open a new page after clicking submit Posted by prithav on 15 Nov 2011 at 12:42 AM
Hi,
I m new to IT industry. I hav a form which is coded in HTML. After filling the form when user clicks SUBMIT button, it should open a new page which is a THANK YOU page. Can anyone help me with this?

Thanks..
Report
Re: how to open a new page after clicking submit Posted by Pixie12 on 15 Nov 2011 at 1:52 AM
<form action="file.php" method="post">
<input type="text" name="name"/>
<input type="submit" name="submit"/>
</form>

Now file.php will be

<?php
$name=$_POST['name'];
echo $name;
?>

Hopefully it will work.
Report
Re: how to open a new page after clicking submit Posted by melopongco on 28 Mar 2012 at 2:43 AM
thanks for sharing your script
Report
Re: how to open a new page after clicking submit Posted by melopongco on 28 Mar 2012 at 2:45 AM
thanks for sharing your script
Report
Re: how to open a new page after clicking submit Posted by melopongco on 28 Mar 2012 at 2:47 AM
thanks for sharing your script
dramaholics
korean drama
Report
Re: how to open a new page after clicking submit Posted by kevinloyed on 4 Jun 2012 at 4:47 AM
still you could not get answer than try on google.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.