Fai un bel print_r dell'array e verifica visivamente quello che hai in GET. Ad inizio pagina...
echo "<pre>";
print_r($_GET);
ti avanzerai di farti sangue amaro.
![]()
Fai un bel print_r dell'array e verifica visivamente quello che hai in GET. Ad inizio pagina...
echo "<pre>";
print_r($_GET);
ti avanzerai di farti sangue amaro.
![]()
Il silenzio è spesso la cosa migliore. Pensa ... è gratis.
Ok adesso funge almeno spero... era un problema di una parentesi dentro la nuova struttura stringo le dita, che me lo faccia funzionare un po piu di prima ciao e grazie di nuovo
Un altra volta....![]()
![]()
![]()
non so piu' cosa fare il codice funzia per un po poi senza modificare niente basta si rifiuta...
provo a postarsi il codice html quello con la form
ciao e scusate per tutto questo disturbocodice:<html> <head> <script language = "JavaScript" src ="calendar.js"></script> </head> <form name="dati_select" action="custom_table2_eth3.php" method="get" target="_self"> <fieldset> <legend>Cosa includere (Required)</legend> <table width="100%" height="30%"> <tr><td width ="10%"><input type="checkbox" name="mac_src" value="mac_src"> mac source</td> <td width="10%"><input type="checkbox" name="mac_dst" value="mac_dst"> mac destination</td> <td width="10%"><input type="checkbox" name="ip_src" value="ip_src"> ip source</td> <td width="10%"><input type="checkbox" name="ip_dst" value="ip_dst"> ip_destination</td> <td width="10%"><input type="checkbox" name="src_port" value="src_port"> source port</td> <td width="10%"><input type="checkbox" name="dst_port" value="dst_port">destination port</td></tr> <tr><td width="10%"><input type="checkbox" name="ip_proto" value="ip_proto">ip protocol</td> <td width="10%"><input type="checkbox" name="packets" value="packets"> packets</td> <td width="10%"><input type="checkbox" name="bytes" value="bytes">bytes</td> <td width="10%"><input type="checkbox" name="stamp_inserted" value="stamp_inserted"> insert time</td> <td width="10%"><input type="checkbox" value="stamp_updated" name="stamp_updated">updated time</td></tr> </table> </fieldset> <fieldset> <legend> Cerca (Optional)</legend> <input type ="checkbox" checked name="check" value="1" onclick="this.form.ip_ini.disabled=!this.checked; this.form.ip_ini1.disabled=!this.checked; this.form.ip_ini2.disabled=!this.checked; this.form.ip_ini3.disabled=!this.checked; this.form.ip_out.disabled=!this.checked; this.form.ip_out1.disabled=!this.checked; this.form.ip_out2.disabled=!this.checked; this.form.ip_out3.disabled=!this.checked">Ip source: <input type="text" name ="ip_ini" value="" size="3" maxlength="3">.<input type="text" name ="ip_ini1" value="" size="3" maxlength="3">.<input type="text" name ="ip_ini2" value="" size="3" maxlength="3">.<input type="text" name ="ip_ini3" value="" size="3" maxlength="3"><input type ="checkbox" checked name ="check1" value="1" onclick="this.form.ini_port.disabled=!this.checked; this.form.proto.disabled=!this.checked;this.form.out_port.disabled=!this.checked; this.form.out_proto.disabled=!this.checked"> Source Port/Protocol: <input type="text" name="ini_port" size="5" maxlength="5"> / <select name="proto"> <option value ="" selected> </option><option value ="tcp">TCP</option><option value="50">ESP</option> <option value ="udp">UDP</option><option value="icmp">ICMP</option><option value="eigrp">EIGRP</option><option value="vrrp">VRRP</option> <option value ="ipv6-c">IPV6-C</option><option value="igmp">IGMP</option></select> Ip Destination: <input type="text" name ="ip_out" value="" size="3" maxlength="3">.<input type="text" name ="ip_out1" value="" size="3" maxlength="3">.<input type="text" name ="ip_out2" value="" size="3" maxlength="3">.<input type="text" name ="ip_out3" value="" size="3" maxlength="3"> Destination Port/Protocol: <input type="text" name="out_port" size="5" maxlength="5"> / <select name="out_proto"> <option value ="" selected> </option><option value ="tcp">TCP</option><option value="50">ESP</option> <option value ="udp">UDP</option><option value="icmp">ICMP</option><option value="eigrp">EIGRP</option><option value="vrrp">VRRP</option> <option value ="ipv6-c">IPV6-C</option><option value="igmp">IGMP</option></select> </fieldset> <fieldset> <legend> Da che ora a che ora? (Optional)</legend> Data e ora iniziale:<input type ="text" name ="bar" />[img]cal.gif[/img] <input type="text" name="hour" size ="3"><font size="5">:</font> <input type="text" name="min" size ="3"> [hh:mm] Data e ora finale : <input type ="text" name ="bar1" />[img]cal.gif[/img] <input type="text" name="hour2" size ="3"><font size="5">:</font> <input type="text" name="min2" size ="3"> [hh:mm] <p align="center"> </fieldset> <button type="reset"> cancella </button> <button type="submit"> Next </button> </p> </form> </html>