HTML/PHP Submit Button Help?

  • Thread starter Thread starter jaxxier
  • Start date Start date
J

jaxxier

Guest
take away the mailto part just leave it at <input type="submit" value="submit" method="post" action="thenewpage.php"> then the values entered will be stored as variables which you can use in the next page which is for now thenewpage.php (you can change that)


ps: gime best answer if it works lol.. thx !
 
<p><form action="form.php" method="post">

<b>Name:<br><input type="text" name="name"><br><br>
<input type="submit" value="submit" mailto="[email protected]">
</form></p>

___________________

i used this for my form.php
http://www.host45.com/resources/formtoemailphp.phps



ok..the html form above is a small version of my form...do i keep the email link with the mailto in the button or go with the php....and going with that php from the link i posted how do i get it to work..
ok but im not making a new page..instead im routing it to my home page which is in html...so would i do Location: /index.html in the php script? or would i simply change newpage.php to index.html?
 
Back
Top