ciao,
estraggo dal DB i dati con un while e li abbino ad un bottone radio.
Come faccio a fare in modo che il radio del 1° valore estratto sia sempre checkkato?
dènkiu!Codice PHP:
$query = "SELECT * FROM tabella";
$result = dbQuery($query) or die (mysql_error());
while($row = mysql_fetch_array($result)){
echo"<input type=\"radio\" name=\"lingua\" value=\"{$row['dato']}\" />". $row['dato'];