<?
$cn = mysql_connect(“localhost”, “ft6h3_dkj3eter”, “gi4jPtbbyn”);
mysql_select_db(“ft6h3733qv_dbdiving”, $cn);
$query = mysql_query(“SELECT * FROM acdc_usermeta”, $cn);
$quanti = mysql_num_rows($query);
if ($quanti == 0)
{
echo “Nessun record!”;
}
else
{
for($x=0; $x<$quanti; $x++)
{
$rs = mysql_fetch_row($query);
$id = $rs[0];
$last_name = $rs[1];
echo “ID: ” . $id . “
“;
echo “Nominativo: ” . $last_name . “
“;
}
}
mysql_close($cn);
?>