can anyone please explain me..isset() fxn please | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

can anyone please explain me..isset() fxn please

23rd Jul 2016, 3:39 PM
Salman Ali Eraqui
Salman Ali Eraqui - avatar
6 Respuestas
+ 2
isset() is a function that determines if some variables are set (defined) and aren't NULL. It gets many arguments as you want (infinite arguments; you can also give it just one argument). It returns a boolean that usually use in if statements. See this: http://www.sololearn.com/app/php/playground/wFNbzpl9056j/
24th Jul 2016, 7:11 PM
$machitgarha
$machitgarha - avatar
+ 1
the function name "is set?" says it all. this function is used to check whether the variable that you are going to use has been set or not. it is good habbit to do.
23rd Jul 2016, 5:14 PM
Dodol Didil
Dodol Didil - avatar
+ 1
to determine the variable is define or not. variable with value and $variable = "" will return true
23rd Jul 2016, 7:24 PM
chee yang Eng
chee yang Eng - avatar
0
i dont now
24th Jul 2016, 1:14 AM
simon Latorre
simon Latorre - avatar
0
hehehe
24th Jul 2016, 1:14 AM
simon Latorre
simon Latorre - avatar
0
thank you bro @mohammad_amin_chitgarha :)
25th Jul 2016, 7:26 AM
Salman Ali Eraqui
Salman Ali Eraqui - avatar