Ashstyx Posted February 11, 2012 Share Posted February 11, 2012 hi, could someone create the php script for this html code as ive been trying to edit a php send script but every time i upload it, it says there are errors. <form name="htmlform" method="post" action="html_form_send.php"> <table width="450px"> </tr> <table border="2"> Personal Information <tr> <td valign="top"> <label for="Tital">Tital *</label> </td> <td valign="top"> <select> <option><selected>--Please Select--</option> <option>Mr</option> <option>Mrs</option> <option>Miss</option> <option>Dr</option> <option>Other</option></select>Other:<INPUT type="text" SIZE="20"> <tr> <td valign="top"> <label for="first_name">First Name *</label> </td> <td valign="top"> <input type="text" name="first_name" maxlength="50" size="30"> </td> </tr> </select> <tr> <td valign="top""> <label for="last_name">Last Name *</label> </td> <td valign="top"> <input type="text" name="last_name" maxlength="50" size="30"> </td> </tr> <tr> <td valign="top"> <label for="email">Email Address *</label> </td> <td valign="top"> <input type="text" name="email" maxlength="80" size="30"> </td> </tr> <tr> <td valign="top"> <label for="telephone">Telephone Number *</label> </td> <td valign="top"> <input type="text" name="telephone" maxlength="30" size="30"> </td> </tr> </tr> <tr> <td colspan="2" style="text-align:center"> <!-- We are grateful to you for keeping this link in place. thank you. --> </td> </tr> </table> <table border="2"> <tr> Event Information <td valign="top"> Occasion<select> <option><selected>--Please Select--</option> <option>Birthday</option> <option>Wedding</option> <option>Anniversary</option> <option>Party</option> <option>Engagement</option> <option>Valentines</option> </select> <ul class="noindent"> <div style="overflow-x: hidden; overflow-y: scroll; height: 150px; width: 420px;"> Tick as many as you need. <li><input type="checkbox" name="color" value="red">70's<br> <li><input type="checkbox" name="color" value="green">80's<br> <li><input type="checkbox" name="color" value="blue">90's<br> <li><input type="checkbox" name="color" value="blue">Cheese<br> <li><input type="checkbox" name="color" value="blue">Mainstreem R n B<br> <li><input type="checkbox" name="color" value="blue">Dance<br> <li><input type="checkbox" name="color" value="blue">House<br> <li><input type="checkbox" name="color" value="blue">Gargae<br> <li><input type="checkbox" name="color" value="blue">Hip-Hop<br> <li><input type="checkbox" name="color" value="blue">Karaoke<br> <li><input type="checkbox" name="color" value="blue">Other <INPUT type="text" SIZE="5"> </div><br> </ul> Event Date<INPUT type="text" SIZE="15"><br> Length of Party<select> <option><selected>--Please Select--</option> <option>1 Hour</option> <option>2 Hours</option> <option>3 Hours</option> <option>4 Hours</option> <option>5 Hours</option> <option>Other</option></select>Other:<INPUT type="text" SIZE="10"><br> Location <INPUT type="text" SIZE="20"><br> Additional Information<br> <textarea name="comments" cols="40" rows="5"> Enter your comments here... </textarea><br> <input type="submit" value="Submit" /> </form> </td> </tr> </form> Quote Link to comment https://forums.phpfreaks.com/topic/256910-help-with-html-php/ Share on other sites More sharing options...
Ashstyx Posted February 11, 2012 Author Share Posted February 11, 2012 i want to be able to send all this information to my email address, also this bit i messed up on Tick as many as you need. <li><input type="checkbox" name="color" value="red">70's<br> <li><input type="checkbox" name="color" value="green">80's<br> <li><input type="checkbox" name="color" value="blue">90's<br> <li><input type="checkbox" name="color" value="blue">Cheese<br> <li><input type="checkbox" name="color" value="blue">Mainstreem R n B<br> <li><input type="checkbox" name="color" value="blue">Dance<br> <li><input type="checkbox" name="color" value="blue">House<br> <li><input type="checkbox" name="color" value="blue">Gargae<br> <li><input type="checkbox" name="color" value="blue">Hip-Hop<br> <li><input type="checkbox" name="color" value="blue">Karaoke<br> <li><input type="checkbox" name="color" value="blue">Other <INPUT type="text" SIZE="5"> </div><br> the edited code is: Tick as many as you need. <li><input type="checkbox" value="70's">70's<br> <li><input type="checkbox" value="80's">80's<br> <li><input type="checkbox" value="90's">90's<br> <li><input type="checkbox" value="Cheese">Cheese<br> <li><input type="checkbox" value="Mainstreem">Mainstreem R n B<br> <li><input type="checkbox" value="Dance">Dance<br> <li><input type="checkbox" value="House">House<br> <li><input type="checkbox" value="Garage">Garage<br> <li><input type="checkbox" value="hiphop">Hip-Hop<br> <li><input type="checkbox" value="Karaoke">Karaoke<br> <li><input type="checkbox" value="Other">Other <INPUT type="text" SIZE="5"> </div><br> Quote Link to comment https://forums.phpfreaks.com/topic/256910-help-with-html-php/#findComment-1317072 Share on other sites More sharing options...
Ashstyx Posted February 12, 2012 Author Share Posted February 12, 2012 bump Quote Link to comment https://forums.phpfreaks.com/topic/256910-help-with-html-php/#findComment-1317191 Share on other sites More sharing options...
Pikachu2000 Posted February 12, 2012 Share Posted February 12, 2012 When posting code, enclose it within the forum's . . . BBCode tags. Are you asking that someone write code for you and post it? This is a help forum. if you want code written for you , we have a freelance forum in which you can solicit quotes so you can hire someone to write the code for you. Quote Link to comment https://forums.phpfreaks.com/topic/256910-help-with-html-php/#findComment-1317252 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.