per concatenare faccio cosi
Codice PHP:
if($row['active']=="false"){
$_SESSION['msg'].="Il tuo Account è disabilitato
";
if($row['code']=="bannato"){
$_SESSION['msg'].="perchè sei stato bannato";
}else{
$_SESSION['msg'].="perchè non hai confermato l'email [b]".$row['email']."[/b]";
}
}
ho fatto un test e ineffetti mi stampa bene le due righe
pero' mi da anche questo errore
Notice: Undefined index: msg in D:\.. on line 126
che sarebbe in corrispondenza
$_SESSION['msg'].="Il tuo Account è disabilitato
";
Perchè fa cosi?