Ciao a tutti ho 3 select dai quali un utente deve poter modificare una query per estrarre dei dati dal DB...come posso fare con JS?
Codice PHP:
<select name="ruolo">
<
option id="pt" value="Portiere">
<
option id="df" value="Difensore">
<
option id="cc" value="Centrocampista">
</
select>

$query mysql_query("SELECT * FROM tabella WHERE ruolo=")or die(mysql_error()); 
Come posso fare?