ho provato così ma non mi funziona
Codice PHP:
<?
$query10="SELECT d_protocollo_categ.*
FROM d_protocollo_categ";
$ris_query10=mysql_query($query10, $conn);
$query20="SELECT d_protocollo_sottocateg.*
FROM d_protocollo_sottocateg";
$ris_query20=mysql_query($query20, $conn);
while($row10=mysql_fetch_array($ris_query10), $row20=mysql_fetch_array($ris_query20)){?>
<tr>
<td height="41"><span class="testo_rosso_bold"><a href="<?=$PHP_SELF?>?protocollo_categ=<?=$row10[id_protocolli_categ]?>&pagina=2" class="tre">[img]../images/menu_triangolo.gif[/img]
<?=$row10['numero_categ']?></a></span></td>
<td align="left"><span class="testo_rosso_bold"><?=$row10['nome_categ']?>
</span></td>
</tr>
<tr>
<td height="1" colspan="2" valign="top" bgcolor="BE743F"></td>
</tr>
<tr>
<td height="41"><span class="testo_rosso_bold"><a href="<?=$PHP_SELF?>?protocollo_categ2=<?=$row20[id_protocolli_categ2]?>&pagina=2" class="tre">[img]../images/menu_triangolo.gif[/img]
<?=$row20['numero_sottocateg']?></a></span></td>
<td align="left"><span class="testo_rosso_bold"><?=$row20['nome_sottocateg']?>
</span></td>
</tr>
<tr>
<td height="1" colspan="2" valign="top" bgcolor="BE743F"></td>
</tr>