Codice HTML:
...
<form id="form1" name="form1" method="post" action="./script/Slibri.php">
<tr><td width="72"><label>Titolo: </label></td>
<td width="144"><input name="titolo" type="text" tabindex="1" /></td>
<td width="51">Genere: </td>
<td width="127"><select name="genere" tabindex="2">
<option value="-1" selected="selected">Genere...</option>
<option value="1">Horror</option>
<option value="2">Fantasy</option>
<option value="3">Fantascienza</option>
<option value="4">Narrativa</option>
<option value="5">Altro</option>
</select></td>
<input type="hidden" name="hid_genere" value="<?=$_POST['$genere']?>" />
<td width="43"><label>Voto: </label>
<td width="76"><select name="voto" tabindex="3">
<option value="-1">Voto...</option>
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select> </tr>
<tr><td height="24" valign="top"><p>Recensione:</p>
</td>
<td colspan="5" valign="top"><input type="button" name="tasto" value="B" onclick="format(tasto.value)" /></td>
</tr>
<tr>
<td height="101" colspan="6" valign="top"><textarea name="recensione" cols="89" rows="10" tabindex="4"></textarea></td>
</tr>
<tr>
<td height="26" colspan="6" valign="top"><input type="submit" name="invia" value="|| Invia Recensione" /></td>
</tr>
</form>
...
tnx :)