OK, I give up I have been trying for weeks now to create a script for my form (which admittedly is not simple). I would like the script to process the form data in an email to me. The text fields are no problem it's the images and checkboxes that I can't get my head around, I'm teaching myself and I just can't get it! I have made several attempts I'll add my script below but I know it's probably a load of rubbish, but just want to show I am trying! Sorry this is so long!
Any help would be so appreciated : )
Here is my form html code:
<form action="submitform2.php" method="post" enctype="multipart/form-data" name="form1" id="form1">
<table width="800" border="0" cellspacing="5" cellpadding="0">
<tr>
<td colspan="4"><span class="style34">
<label for="name"><strong>Name:</strong></label>
<input name="name" type="text" id="name" size="50" />
</span></td>
</tr>
<tr>
<td colspan="4"><span class="style34"><strong>Email:</strong></span>
<input name="email" type="text" id="email" size="70" /></td>
</tr>
<tr>
<td colspan="4"><span class="style34"><strong>Website Address:</strong></span>
<input name="website" type="text" id="website" size="70" /></td>
</tr>
<tr>
<td colspan="4" class="style34">Â*</td>
</tr>
<tr>
<td colspan="4" class="style36">Upload Images:</td>
</tr>
<tr>
<td colspan="4" class="style35">(Images must be no bigger than 72dpi, 600 pixels width and 480 pixels height.) </td>
</tr>
<tr>
<td colspan="4"><input name="image1" type="file" class="BrowseButton" id="image1" /></td>
</tr>
<tr>
<td colspan="4"><input name="image2" type="file" class="BrowseButton" id="image2" /></td>
</tr>
<tr>
<td colspan="4"><input name="image3" type="file" class="BrowseButton" id="image3" /></td>
</tr>
<tr>
<td colspan="4"><input name="image4" type="file" class="BrowseButton" id="image4" /></td>
</tr>
<tr>
<td colspan="4" class="style34">Â*</td>
</tr>
<tr>
<td colspan="4" class="style34">Please upload one thumbnail image that best reflects your work:</td>
</tr>
<tr>
<td colspan="4" class="style35">(The thumbnail image must be exactly 72dpi, 172 pixels width by 140 pixels height.)</td>
</tr>
<tr>
<td colspan="4"><input name="thumbnail" type="file" class="BrowseButton" id="thumbnail" /></td>
</tr>
<tr>
<td colspan="4" class="style34">Â*</td>
</tr>
<tr>
<td colspan="4" class="style34"><strong>Please check which genres best describe your work:</strong></td>
</tr>
<tr>
<td colspan="4" class="style35">(Maximum of 3)</td>
</tr>
<tr>
<td width="193" class="style35"><span id="sprycheckbox1">
<input name="abstract" type="checkbox" class="style37" id="abstract" value="yes" />
</span>
<label for="abstract">Abstract</label></td>
<td width="193"><span class="style35">
<input name="animals" type="checkbox" id="animals" value="yes" />
<label for="animals">Animals</label>
</span>
<label for="animals"></label></td>
<td width="195" class="style35"><input name="character" type="checkbox" id="character" value="yes" />
<label for="character">Character Design</label></td>
<td width="194" class="style35"><input name="childrens" type="checkbox" id="childrens" value="yes" />
<label for="childrens">Childrens</label></td>
</tr>
<tr>
<td class="style35"><span id="sprycheckbox2">
<input name="comic" type="checkbox" id="comic" value="yes" />
</span>
<label for="comic">Comic</label></td>
<td class="style35"><input name="conceptual" type="checkbox" id="conceptual" value="yes" />
<label for="conceptual">Conceptual</label></td>
<td class="style35"><input name="editorial" type="checkbox" id="editorial" value="yes" />
<label for="editorial">Editorial</label></td>
<td class="style35"><input name="educational" type="checkbox" id="educational" value="yes" />
<label for="educational">Educational</label></td>
</tr>
<tr>
<td class="style35"
Any help would be so appreciated : )
Here is my form html code:
<form action="submitform2.php" method="post" enctype="multipart/form-data" name="form1" id="form1">
<table width="800" border="0" cellspacing="5" cellpadding="0">
<tr>
<td colspan="4"><span class="style34">
<label for="name"><strong>Name:</strong></label>
<input name="name" type="text" id="name" size="50" />
</span></td>
</tr>
<tr>
<td colspan="4"><span class="style34"><strong>Email:</strong></span>
<input name="email" type="text" id="email" size="70" /></td>
</tr>
<tr>
<td colspan="4"><span class="style34"><strong>Website Address:</strong></span>
<input name="website" type="text" id="website" size="70" /></td>
</tr>
<tr>
<td colspan="4" class="style34">Â*</td>
</tr>
<tr>
<td colspan="4" class="style36">Upload Images:</td>
</tr>
<tr>
<td colspan="4" class="style35">(Images must be no bigger than 72dpi, 600 pixels width and 480 pixels height.) </td>
</tr>
<tr>
<td colspan="4"><input name="image1" type="file" class="BrowseButton" id="image1" /></td>
</tr>
<tr>
<td colspan="4"><input name="image2" type="file" class="BrowseButton" id="image2" /></td>
</tr>
<tr>
<td colspan="4"><input name="image3" type="file" class="BrowseButton" id="image3" /></td>
</tr>
<tr>
<td colspan="4"><input name="image4" type="file" class="BrowseButton" id="image4" /></td>
</tr>
<tr>
<td colspan="4" class="style34">Â*</td>
</tr>
<tr>
<td colspan="4" class="style34">Please upload one thumbnail image that best reflects your work:</td>
</tr>
<tr>
<td colspan="4" class="style35">(The thumbnail image must be exactly 72dpi, 172 pixels width by 140 pixels height.)</td>
</tr>
<tr>
<td colspan="4"><input name="thumbnail" type="file" class="BrowseButton" id="thumbnail" /></td>
</tr>
<tr>
<td colspan="4" class="style34">Â*</td>
</tr>
<tr>
<td colspan="4" class="style34"><strong>Please check which genres best describe your work:</strong></td>
</tr>
<tr>
<td colspan="4" class="style35">(Maximum of 3)</td>
</tr>
<tr>
<td width="193" class="style35"><span id="sprycheckbox1">
<input name="abstract" type="checkbox" class="style37" id="abstract" value="yes" />
</span>
<label for="abstract">Abstract</label></td>
<td width="193"><span class="style35">
<input name="animals" type="checkbox" id="animals" value="yes" />
<label for="animals">Animals</label>
</span>
<label for="animals"></label></td>
<td width="195" class="style35"><input name="character" type="checkbox" id="character" value="yes" />
<label for="character">Character Design</label></td>
<td width="194" class="style35"><input name="childrens" type="checkbox" id="childrens" value="yes" />
<label for="childrens">Childrens</label></td>
</tr>
<tr>
<td class="style35"><span id="sprycheckbox2">
<input name="comic" type="checkbox" id="comic" value="yes" />
</span>
<label for="comic">Comic</label></td>
<td class="style35"><input name="conceptual" type="checkbox" id="conceptual" value="yes" />
<label for="conceptual">Conceptual</label></td>
<td class="style35"><input name="editorial" type="checkbox" id="editorial" value="yes" />
<label for="editorial">Editorial</label></td>
<td class="style35"><input name="educational" type="checkbox" id="educational" value="yes" />
<label for="educational">Educational</label></td>
</tr>
<tr>
<td class="style35"