Codice PHP:
<tr bgcolor="#80BCFF" >
<td valign="top" style="border-right:1 solid #FFFFFF">
<form name="form1" method="post" action="tabella.php">
<table width="225" border="0" cellspacing="2" cellpadding="0">
<tr>
<td width="10" rowspan="4"></td>
<td width="134">
<select name="categoria" id="categoria" style="width:155px" onchange="setMarche(this)">
<option value="">Scegli una voce</option>
<option value="tutti">Tutti</option>
</select>
</td>
<td width="60"><h3>categoria</h3></td>
<td width="11" rowspan="4"></td>
</tr>
<tr>
<td>
<select name="marca" id="marca" style="width:155px" >
<option value="" selected="selected">Tutti</option>
</select>
</td>
<td><h3>marca</h3></td>
</tr>
<tr>
<td>
<select name="prezzo" id="prezzo" style="width:155px" >
<option value="">Tutti</option>
</select>
</td>
<td><h3>prezzo</h3></td>
</tr>
<tr>
<td height="31" valign="bottom"><input type="submit" name="ric_prod" value="Invia" style="width:155px"></td>
<td valign="bottom"><label></label></td>
</tr>
</table>
</form></td>
<td valign="top">
<form name="form2" method="post" action="tabella.php">
<table width="225" border="0" cellspacing="2" cellpadding="0">
<tr>
<td width="10" rowspan="3"></td>
<td><label>
<input name="chiave" type="text" size="30">
</label></td>
<td width="10" rowspan="3"></td>
</tr>
<tr>
<td><h3>ricerca libera:
inserisci una parola chiave </h3></td>
</tr>
<tr>
<td height="45" valign="bottom"><input type="submit" name="ric_chiave" value="Invia" style="width:155px">
<label></label></td>
</tr>
</table>
</form></td>
</tr>
questo è tutto..i form sono due però nella pagina di destinazione ci stanno delle condizioni...
se è impostato il primo form fai una cosa..se è impostato il secondo form..fai altro.
il risultato è che mi dice che è impostato il secodno form ma con campo vuoto..tragedia insomma.