Pagina 2 di 2 primaprima 1 2
Visualizzazione dei risultati da 11 a 13 su 13
  1. #11
    Utente bannato
    Registrato dal
    Aug 2007
    Messaggi
    92
    Mh, prova ad assegnare due attributi name ai form, con valori ovviamente diversi, potrebbe funzionare.

  2. #12
    Utente di HTML.it
    Registrato dal
    Jul 2005
    Messaggi
    509
    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.

  3. #13
    Utente di HTML.it
    Registrato dal
    Jul 2005
    Messaggi
    509
    no è?

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.