Visualizzazione dei risultati da 1 a 3 su 3

Discussione: motore ricerca

  1. #1

    motore ricerca

    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
    giro

  2. #2
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    Non è corretto usare un solo campo del db. E poi che campo? Un campo testo in cui metti tutto appiccicato???

    Roby

  3. #3
    Ciao
    Ogni immobile caricato puo avere un opzione sola(casa, vailla, appartamento...)
    e questi sono contenuti in una tabella chiamata tipo e relazionata a quella principale
    .....

    Ho pensato di usare dei ceck box per dare la possibilita all'utente di cercare piu opzioni es( cerco appartamento e mansarda)
    Secondo te è possibili?
    giro

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.