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

What is abstraction php?

753


How can we connect to a mysql database from a php script?

815


What are sql functions?

738


What is the purpose of a query?

720


Are php session secure?

795


What are php errors?

717


What is active record in php?

699


What is restful api?

737


Which operator is used to combine string values in php?

736


What are the 5 types of variables?

811


How do we get the current session id?

794


Does facebook use php framework?

818


What are the three parts of an http request?

781


Tell me what library is used for pdf in php?

753


How can MYSQL functions be available with PHP?

796