Top "Isset" questions

Determine if a variable is set and is not NULL

Isset expression error

I have basically coded a code which populates a list of categories from my database then you are able to …

php isset
Too many redirects

I can't find the solution to this one. Basically we are using a vanity url system so its user.domain.…

php session redirect session-variables isset
Difference between `if (isset($_SESSION))` and `if ($_SESSION)`?

I've noticed that frequently people simply write <?php if($_SESSION['username']) {...} ?> while I have been using: <?php …

php if-statement isset
What's the difference between 'isset()' and '!empty()' in PHP?

I don't understand the difference between isset() and !empty(). Because if a variable has been set, isn't it the same …

php isset
How to tell whether a variable has been initialized in C#?

I know this is a dumb question and I guess it must have been asked before. However I am unable …

c# class isset nothing
Check if variable is_undefined in PHP

In PHP, I want to check if a variable has not been set/defined, where setting a variable NULL is …

php isset isnull isnullorempty
PHP If Else with isset: else part does not work

PHP Part is here So when I post it, else part does not work at all (meaning: the text I …

php if-statement isset
What is the PHP shorthand for: print var if var exist

We've all encountered it before, needing to print a variable in an input field but not knowing for sure whether …

php var isset
Check if field exists in Input during validation using Laravel

I want to make sure that certain fields are posted as part of the form but I don;t mind …

validation laravel laravel-4 isset
What is the difference between null and empty?

I am new to the concept of empty and null. Whilst I have endeavoured to understand the difference between them, …

php null isset