ciao Piero.mac
scusa ma non ho capito dove devo farlo... quello che dici tu c'è già nel file login.php
Codice PHP:............................
//Check whether the query was successful or not
if($result) {
if(mysql_num_rows($result)>0) {
//Login Successful
$member=mysql_fetch_assoc($result);
$_SESSION['SESS_MEMBER_ID']=$member['iduser'];
session_write_close();
echo "ciao $username";
}else {.............
![]()

Rispondi quotando