Salve,
ho questa query:
$query = "select count(*) from table";
$conta = mysql_num_rows($query);
Come faccio a mettere il risultato in stampa a video?
Grazie
Salve,
ho questa query:
$query = "select count(*) from table";
$conta = mysql_num_rows($query);
Come faccio a mettere il risultato in stampa a video?
Grazie
codice:$query = "SELECT COUNT(*) AS totale FROM table"; $st=mysql_query($query) or die(mysql_error()); $row=mysql_fetch_assoc($st); echo $row['totale'];
think simple think ringo