Categorķas en $nombre_sitio_web
"; echo "
    "; $scat1=mysql("$nbd","select ID_t1,nombre from t1 order by nombre"); $ncat1=mysql_num_rows($scat1); $cc=1; while ($cc<=$ncat1) { $sscat1=mysql_fetch_array($scat1); echo "
  • $sscat1[nombre]
      "; $scat2=mysql("$nbd","select ID_t2,nombre from t2 where ID_t1=$sscat1[ID_t1] order by nombre"); $ncat2=mysql_num_rows($scat2); $ccc=1; while ($ccc<=$ncat2) { $sscat2=mysql_fetch_array($scat2); echo "
    • $sscat2[nombre]
        "; $scat3=mysql("$nbd","select ID_t3,nombre from t3 where ID_t2=$sscat2[ID_t2] order by nombre"); $ncat3=mysql_num_rows($scat3); $cccc=1; while ($cccc<=$ncat3) { $sscat3=mysql_fetch_array($scat3); echo "
      • $sscat3[nombre]
      • "; $cccc++; } $ccc++; echo "
    • "; } $cc++; echo "
  • "; } echo "
"; include("barrainferior.php"); mysql_close($link33); ?>