How to differentiate isset and empty

Answer Posted / vijay

isset is used to check whether the variable is set or
not ...
where as empty is used to check whether variable contains a
value or not

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a statement to show the joining of multiple comparisons in php?

521


How to read a file in binary mode?

625


What is strstr php?

513


Differences between get, post and request methods ?

483


How to check a variable is an array or not in php?

499






How does api connect to database?

548


What are the special characters you need to escape in double-quoted stings?

533


Is php 5.6 secure?

530


How do you use an array in excel?

516


How do I run a php program in dreamweaver?

527


Is php good for career?

546


What is the scope of a variable defined outside a function?

527


What are the advantages of indexes in php?

552


How to get useful error messages in php?

552


How error handling is being handled by php?

538