Salve a tutti
sto facendo un motore di ricerca
Usando dei ceckbox vorrei dare all'utente la possibilita di cercare piu opzioni nel db
<table border="0" width="83%">
<tr>
<td width="28%">Appartamento</td>
<td width="4%" align="center"><input type="checkbox" name="app" value="ON"></td>
<td width="28%">Villino pluri familiare/schiera</td>
<td width="4%" align="center"><input type="checkbox" name="vpluri" value="ON"></td>
<td width="30%">Garage/Box auto</td>
<td width="4%" align="center"><input type="checkbox" name="garage" value="ON"></td>
</tr>
<tr>
<td width="28%">Appartamento in villa/Villino</td>
<td width="4%" align="center"><input type="checkbox" name="appv" value="ON"></td>
<td width="28%">Casale</td>
<td width="4%" align="center"><input type="checkbox" name="casale" value="ON"></td>
<td width="28%">Posto auto</td>
<td width="4%" align="center"><input type="checkbox" name="posto" value="ON"></td>
</tr>
<tr>
<td width="28%">Palazzetto</td>
<td width="4%" align="center"><input type="checkbox" name="pal" value="ON"></td>
<td width="28%">Casale Rurale</td>
<td width="4%" align="center"><input type="checkbox" name="casaler" value="ON"></td>
<td width="28%">Cantina</td>
<td width="4%" align="center"><input type="checkbox" name="cantina" value="ON"></td>
</tr>
<tr>
<td width="28%">Villa</td>
<td width="4%" align="center"><input type="checkbox" name="villa" value="ON"></td>
<td width="28%">Rustico</td>
<td width="4%" align="center"><input type="checkbox" name="rustico" value="ON"></td>
<td width="28%">Soffitta</td>
<td width="4%" align="center"><input type="checkbox" name="soffitta" value="ON"></td>
</tr>
<tr>
<td width="28%">Villino Unifamiliare</td>
<td width="4%" align="center"><input type="checkbox" name="vil" value="ON"></td>
<td width="28%">Multi proprieta</td>
<td width="4%" align="center"><input type="checkbox" name="multi" value="ON"></td>
<td width="28%">Appartamento uso ufficio</td>
<td width="4%" align="center"><input type="checkbox" name="appuff" value="ON"></td>
</tr>
<tr>
<td width="28%">Locale uso negozio</td>
<td width="4%" align="center"><input type="checkbox" name="locale" value="ON"></td>
<td width="28%">Locale uso laboratorio</td>
<td width="4%" align="center"><input type="checkbox" name="locale" value="ON"></td>
<td width="28%">Capannone</td>
<td width="4%" align="center"><input type="checkbox" name="capannone" value="ON"></td>
</tr>
<tr>
<td width="29%">Terreno Edificabile</td>
<td width="4%" align="center"><input type="checkbox" name="terreno" value="ON"></td>
<td width="28%">Terreno Industriale</td>
<td width="4%" align="center"><input type="checkbox" name="terreno" value="ON"></td>
<td width="30%">Terreno Agricolo</td>
<td width="4%" align="center"><input type="checkbox" name="terreno" value="ON"></td>
</tr>
</table>
Questo è il form....
Ad esempio io verrei cercare nel campo ABITAZIONE del db piu opzioni tipo terreno induztriale abitazione...
Secondo voi è possibile
grazie

Rispondi quotando