What does notice: Undefined Variable in PHP Scripting mean?

The notice: undefined variable means, as the name it says, the variable is not defined. Notice undefined variable Look at the below code <?php if(!empty($employees_data)){ $employee_phone_number=Get_Employee_Phone_Number(); } echo $employee_phone_number ?> Can you guess, what would be the result? It will show, Notice: undefined variable error. Reason: the variable $employee_phone_number variable is defined inisde the if […]