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