Jump to content

help with html / php


Ashstyx

Recommended Posts

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>

Link to comment
Share on other sites

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>

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.