Jump to content
roudi

afficher un message type modal

Rate this topic

Recommended Posts

bonjour

mon probleme et d'afficher un message de type modal incitant l'utilisateur a se connecter avant de le rediriger vers la page de connexion

<?php
session_start();
if (!isset($_SESSION['username'])) {
    $_SESSION['msg'] = "vous devez vous identifier";
    header('location: signin.php');
}

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...