if (isset($_SESSION['email']) && isset($_SESSION['pwd'])) { include('connexion.php'); $requete = mysql_query("SELECT profils.*,LOWER(profils.email) FROM profils WHERE email='$Email'") or die(mysql_error()); $data = mysql_fetch_array($requete); if ($data['Password']!=$Pwd || strtolower($data['email'])!=$Email){ echo ""; }else{ $id = $data['id']; } }else { echo ""; } if(strtotime($data['expiration']) < strtotime(date("Y-m-d")) || $data['etat'] == '0') { echo ""; } ?> if (isset($_SESSION['email']) && isset($_SESSION['pwd'])) { include('connexion.php'); $requete = mysql_query("SELECT profils.*,LOWER(profils.email) FROM profils WHERE email='$Email'") or die(mysql_error()); $data = mysql_fetch_array($requete); if ($data['Password']!=$Pwd || strtolower($data['email'])!=$Email){ echo ""; }else{ $id = $data['id']; } }else { echo ""; } if(strtotime($data['expiration']) < strtotime(date("Y-m-d")) || $data['etat'] == '0') { echo ""; } ?>