Top "Isset" questions

Determine if a variable is set and is not NULL

PHP Shorthand for isset form POST value

I am creating a form and am just looking for more efficient ways to do things. What I have so …

php forms variables isset
Php if($_POST) vs if(isset($_POST))

I have a simple form as demonstrated below: <form action="" method="post"> <input type="text" /> <…

php post isset
How to tell whether a variable in ASP has been declared

Let me start off by saying I'm a PHP developer, not an ASP one. (And I really wish ASP had …

asp-classic isset
How do I check whether an environment variable is set in PHP?

In PHP, how do I test whether an environment variable is set? I would like behavior like this: // Assuming MYVAR …

php environment-variables isset
isset() on codeigniter objects

How can I achieve something that looks like: if (isset($this->session->flashdata('user_profile'))) {} without: Fatal error: …

codeigniter session object isset
PHP if multiple variables exist

So i'm having a bit of a problem with having my PHP run a command if multiple variables exist. I …

php html variables isset
Test if an argument of a function is set or not in R

I have a function f that takes two parameters (p1 and p2): If for the parameter p2 no value was …

r function variables variable-assignment isset
Will isset() return false if I assign NULL to a variable?

I mean... I "set" it to NULL. So isset($somethingNULL) == true?

php null isset
If isset for constants, but not defined?

If I set a constant to = '', How to I check if constant has something inside ? (ie see if it …

php constants isset defined
PHP object isset and/or empty

Is there a way to check if an object has any fields? For example, I have a soap server I …

php object isset