ciao a tutti
io ho scritto questo:
Codice PHP:
$query "SELECT  D.id,D.iduser,D.categoria,
                  U.nick,U.id
            FROM  domande AS D,
                  utenti AS U
           WHERE  D.categoria = '
$d' AND U.id = D.iduser";
$result mysql_query($query);
while (
$row mysql_fetch_array($result)){
        
$id=$row['.......']; 
ma ho un problema!!!
non so cosa mettere la posto dei puntini
io dovrei mettere id, solo che siccome c'è D.id e U.id
mi prende quello sbagliato se metto semplicemente id...
come posso fare?
grazie.