genesissystem Posted April 7, 2010 Share Posted April 7, 2010 Hello guys Im new in this forum and I want to ask for help on this form http://www.powerexterminator.com/form0.html form id="form0" name="form0" method="post" action=""> <table width="70" cellspacing="3"> <tr> <td width="12%"> First Name<font color='#ff0000'>*</font></td> <td width="7%"> <input type=text name='FirstName' size=10></td><td width="8%"> Last Name<font color='#ff0000'>*</font></td> <td width="7%"> <input type=text name='LastName' size=10></td><td width="7%"> Zip Code<font color='#ff0000'>*</font></td> <td width="6%"> <input type=text name='ZipCode' size=10></td> </tr> <tr> <td><label for="Submit">Send</label> <input type="submit" name="Submit" value="Submit" id="Submit" /></td> <td> </td> </tr> </table> </form> went user fillout form I want form pass data to this form only 3 field http://www.powerexterminator.com/form1.html Link to comment https://forums.phpfreaks.com/topic/197884-form-help/ Share on other sites More sharing options...
Jax2 Posted April 7, 2010 Share Posted April 7, 2010 Not exactly sure what you're asking, but to pass form data, you need to use $_POST['variable_name_here'], such as: $FirstName=$_POST['FirstName']; $LastName=$_POST['LastName']; $ZipCode=$_POST['ZipCode']; Also, in your form tag, you're not specifying any page for the form to be submitted to under action=, which means it will simply submit it to the same page, and you'll need to set up an isset to handle the form processing: if (isset($_POST['Submit'])) { do this } Link to comment https://forums.phpfreaks.com/topic/197884-form-help/#findComment-1038476 Share on other sites More sharing options...
genesissystem Posted April 7, 2010 Author Share Posted April 7, 2010 JAX2..... thanks for you re-ply you are right I dont have I lot of info now, with those field can you help to pass those value to http://www.powerexterminator.com/form1.html thanks ? Link to comment https://forums.phpfreaks.com/topic/197884-form-help/#findComment-1038521 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.