Posso postarti il codice ma dubito che ti potrà essere utile...
Codice PHP:
<script type="text/javascript">
function checkRadio(radioID){
for(var x=0;x<15; x++){
if(radioID != x){
var oRadio = document.getElementById(x);
oRadio.checked = false;
}
}
var oRadio = document.getElementById(radioID);
if(oRadio.checked == true){
oRadio.checked = false;
}else{
oRadio.checked = true;
}
}
</script>
<?php
$query_r=oci_parse($con,"select r, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10
from(select * from tabelle where condizioni and rownum <= $a)
where r > $from");
oci_execute($query_r);
echo("<table>");
echo("<thead id='primo_seconda'><tr><td align='center' colspan='10'></td></tr>");
echo("<thead id='secondo'><tr>");
echo("<td align='center'>Seleziona</td>");
echo("<td align='center'>Codice</td>");
echo("<td align='center'>Nominativo</td>");
echo("<td align='center'>Indirizzo</td>");
echo("<td align='center'>Codice Fiscale</td>");
echo("<td align='center'>Partita IVA</td>");
echo("<td align='center'>Descrizione</td>");
echo("<td align='center'Città</td>");
echo("<td align='center'>Provincia</td>");
echo("<td align='center'>Cap</td>");
echo("</tr></thead>");
echo("<form action='modifica_dettaglio_utente2.php' method='POST'>");
echo("<tbody>");
$i=0;
while($riga=oci_fetch_array($query_r, OCI_NUM + OCI_RETURN_NULLS)){
echo("<tr>");
if($cod_richiedente==$riga[1]){
echo("<td align='center'><input id='radio-$i' name='ric' type='radio' value='$riga[1]' checked='checked' onclick='checkRadio(this.id);'/></td>");
$i++;
}else{
echo("<td align='center'><input id='radio-$i' name='ric' type='radio' value='$riga[1]' onclick='checkRadio(this.id);'/></td>");
$i++;
}
echo("<td align='center'>".$riga[1]."</td>");
echo("<td align='center'>".$riga[2]."</td>");
echo("<td align='center'>".$riga[3]."</td>");
echo("<td align='center'>".$riga[4]."</td>");
echo("<td align='center'>".$riga[5]."</td>");
echo("<td align='center'>".$riga[7]."</td>");
echo("<td align='center'>".$riga[8]."</td>");
echo("<td align='center'>".$riga[9]."</td>");
echo("<td align='center'>".$riga[10]."</td>");
echo("</tr>");
}
echo("</tbody>");
echo("<tr><td align='center' colspan='10' bgcolor='#7BA5E7'></td></tr>");
echo("<tr><td align='center' colspan='10' bgcolor='#7BA5E7'>".pagination_4($total_pages, $page)."</td></tr>");
echo("<tr><td align='center' colspan='10' bgcolor='#7BA5E7'><input class='bottone' type='submit' value='Avanti' style=\"cursor:pointer;cursor:hand;\"></td></tr>");
echo("</form>");
echo("</table>");
?>
Ovviamente ti ho tolto tutto il superfluo...