";
//$valori = array();
for($x = 0; $x < $num_fields; $x++)
{
//$tipo = "".mysql_field_type($result, $x)." | "; // Visualizza il tipo del campo
$t = ereg_replace("'", "", $myrow[mysql_field_name($result, $x)]); // Rimozione delle stringhe del singolo apice
$dati = $t;
if ($riga == true)
{
echo "".mysql_field_name($result, $x)." | ";
$riga = false;
}
else
{
echo "
".mysql_field_name($result, $x)." | ";
$riga = true;
}
if (mysql_field_type($result, $x) == "blob")
//if (mysql_field_type($result, $x) == "blob" || mysql_field_len($result, $x) > 30 )
echo "$tipo |
";
else
{
if (strstr(mysql_field_name($result, $x), "id"))
//echo "$tipo | ";
echo "$tipo$dati | ";
else
echo "$tipo | ";
}
}
echo "
|
";
echo "";
echo " |
";
echo "