Failed authentication
""
Please, enter your username and password:
} else { # the authentication was OK
include("../mysql.txt");
//connessione a MySql
$conn = mysql_connect( $db_host, $db_user, $db_pass)
or die("Impossibile collegarsi!");
//connessione al DB
mysql_select_db( $db_name, $conn) or die("Connection to database $db_name. is temporarly unavailable, please contact tech@iemss.org");
///// Utenti gia accettati
//Invio dati al db
$sql_uno = "SELECT MEMBER_ID, GENDER, FIRSTNAME, LASTNAME, ORGANIZATION, ADDRESS, CITY, ZIPCODE, COUNTRY FROM member_data ORDER BY LASTNAME";
$result_uno = mysql_query($sql_uno,$conn) or die("Cannot perform select query - list members");
//Richiesta dati al Db
?>
| ID |
Title |
Name |
Surname |
Organisation |
City |
while ($riga_uno = mysql_fetch_row($result_uno) ) {
print "
";
print "| ". $riga_uno[0]." | " ;
print " ". $riga_uno[1]." | " ;
print " ". $riga_uno[2]. " | " ;
print " " .$riga_uno[3] ." | " ;
print " ". $riga_uno[4]." | " ;
print " ". $riga_uno[6]." | " ;
print "
";
}
print "
";
mysql_close($conn);
?>