vorrei estrarre il campo email presente nella tabella utente, conoscendo l'username(attributo comune) presente nella tabella file_binari...sto impazzendo e nn trovo l'errore..
questo è uno dei varii tentativi che ho fatto, se qlcn riesce ad aiutarmi lo loderò a vita![]()
Codice PHP:
$new_username = $_POST['username'];
$utente = "SELECT email FROM file_binari INNER JOIN utente ON file_binari.$username = utente.$username";
mysql_query($utente) or die (MYSQL_ERRNO()." ".MYSQL_ERROR());