Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include_once("include/funzioni.php");
- $id_utente = check_login();
- if($id_utente == -1){
- header("Location: index.php");
- } else {
- $db = database_connect();
- $data = $db->query("SELECT * from utenti where id = '$id_utente'");
- $utente = $data->fetch_assoc();
- ?>
- Benvenuto, <?php echo $utente["email"]; ?>!
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement