Question: PHP 1. Create a new file named inc_welcome.php. 2. Create a variable named isLogin and initialize it with a false value. 3. Create a variable

PHP

1. Create a new file named inc_welcome.php.

2. Create a variable named isLogin and initialize it with a false value.

3. Create a variable named username and initialize it with a null value.

4. Using an if statement check the isLogin and if it is true then display a welcome message along with the username. Otherwise send a message that indicates they need to login.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!