Question: Continue from the Login and Logout activities. You may use the same file Open home.php and modified the code by replacing below code: Welcome: Log
- Continue from the Login and Logout activities. You may use the same file
- Open home.php and modified the code by replacing below code:
|
include('dbcon.php'); include('session.php');
$result=mysqli_query($con, "select * from users where user_id='$session_id'")or die('Error In Session'); $row=mysqli_fetch_array($result);
?>
Welcome:
Log out
Welcome to AAN Cafe
Pick your menu. function myFunction() { var x = document.getElementById("myTopnav"); if (x.className === "topnav") { x.className += " responsive"; } else { x.className = "topnav"; } } |
- Create files name as product, contact, about.
- Refresh your browser the see an output.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
