Perché un po' lunga
Comunque praticamente è così
Codice PHP:
<form action="salva.php">
<TABLE width="75%" border="1" class="p1" id="myTable">
<caption>Nuova Giacenza</caption>
<div align="center">
<thead>
poi cominciano dei pezzi tipo
Codice PHP:
<th width="11%">
<select style="width: 100%;" name="data">
<option value=""></option><?
for($d=0;$d<30;$d++) {?>
<option value=""><? echo date("d.m.y",time()-$d*86400); ?></option>
<?}?>
</select>
</th>
oppure
Codice PHP:
<th width="8%" onDblClick="change(<? echo $r+3; ?>)"><input style="width: 100%;" id=<? echo $r+3; ?> maxLength="3" size="3" type="text" name="numero"></th>
e finisce il tutto con
Codice PHP:
[url="javascript:addRow('myTable')"][img]../../images/aggiungi.gif[/img][/url]
<input type="image" src="../../images/salva.gif" border=0>
<input type="reset" style="background:url(../../images/annulla.gif); border:none; width:20px; height:20px;">
</form>
Praticamente i valori contenuti nelle caselle di testo me le salva.. ma quelli all'interno della select no