archimadness
%Europe/Berlin %911 %2006, 22:53
Ik heb een formulier gemaakt. Deze zou ik graag opgestuurd willen hebben.
Hoe kan dit het beste gedaan worden?
CGI / PHP?
Mijn host ondersteunt ze beide
Hierbij het HTML formulier.
<style>
body,td,legend {
background: white ;
color: black;
font-family: Arial;
font-size: 14px;
}
span.required{
font-size: 13px;
color: red;
}
</style>
<form action="" method="POST">
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q0">Name <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q0_Name" id="q0">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q1">Voornaam <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q1_Voornaam" id="q1">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q2">Adres <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q2_Adres" id="q2">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q3">Postcode <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q3_Postcode" id="q3">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q9">Woonplaats <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q9_Woonplaats" id="q9">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q18">Telefoon nummer <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q18_Telefoonnummer" id="q18">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q14">E-mail adres <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q14_E-mailadres" id="q14">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q21">Type werk</label>
</td>
<td valign="bottom">
<select name="q21_Typewerk" id="q21">
<option></option>
<option>Pleisteren binnen </option>
<option>Cementdekvloeren </option>
<option>Anhydriet vloeivloeren</option>
<option>Tegelwerk</option>
</select>
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="top" >
<label for="q20">Werkzaamheden</label>
</td>
<td valign="bottom">
<textarea wrap="soft" cols="30" rows="3" name="q20_Werkzaamheden" id="q20"></textarea>
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="top" >
<label for="q19">Ruimte voor uw reactie of een algemene vraag</label>
</td>
<td valign="bottom">
<textarea wrap="soft" cols="30" rows="3" name="q19_Ruimtevooruwreactieofeenalgemenevraag" id="q19"></textarea>
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
</td>
<td valign="bottom">
<input type="submit" name="q7_" value="Verzend">
</td>
</tr>
</table>
</form>
Hoe kan dit het beste gedaan worden?
CGI / PHP?
Mijn host ondersteunt ze beide
Hierbij het HTML formulier.
<style>
body,td,legend {
background: white ;
color: black;
font-family: Arial;
font-size: 14px;
}
span.required{
font-size: 13px;
color: red;
}
</style>
<form action="" method="POST">
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q0">Name <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q0_Name" id="q0">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q1">Voornaam <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q1_Voornaam" id="q1">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q2">Adres <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q2_Adres" id="q2">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q3">Postcode <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q3_Postcode" id="q3">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q9">Woonplaats <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q9_Woonplaats" id="q9">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q18">Telefoon nummer <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q18_Telefoonnummer" id="q18">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q14">E-mail adres <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q14_E-mailadres" id="q14">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q21">Type werk</label>
</td>
<td valign="bottom">
<select name="q21_Typewerk" id="q21">
<option></option>
<option>Pleisteren binnen </option>
<option>Cementdekvloeren </option>
<option>Anhydriet vloeivloeren</option>
<option>Tegelwerk</option>
</select>
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="top" >
<label for="q20">Werkzaamheden</label>
</td>
<td valign="bottom">
<textarea wrap="soft" cols="30" rows="3" name="q20_Werkzaamheden" id="q20"></textarea>
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="top" >
<label for="q19">Ruimte voor uw reactie of een algemene vraag</label>
</td>
<td valign="bottom">
<textarea wrap="soft" cols="30" rows="3" name="q19_Ruimtevooruwreactieofeenalgemenevraag" id="q19"></textarea>
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
</td>
<td valign="bottom">
<input type="submit" name="q7_" value="Verzend">
</td>
</tr>
</table>
</form>