Marketto ho ancora un problemino
ho fatto i cambiamenti alle tabelle e relativi files
function get_stat_list(){
global $_CONFIG;
$result = mysql_query("
SELECT utenti.name,utenti.surname,download.nome,stat.orig ine FROM stat
INNER JOIN utenti ON utenti.id = stat.user_id
INNER JOIN download ON download.id = stat.file_id
");
$data = array();
while($tmp = mysql_fetch_assoc($result)){
array_push($data, $tmp);
};
return $data;
}
so inserire dei filtri,
es
WHERE utenti.id='1'
oppure
WHERE stat.origine='1'
come faccio a fare count dei download?
grazie ancora

Rispondi quotando