Welcome to WebmasterWorld Guest from 54.196.233.239

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Are these the same?

     

gruntre

9:27 am on Apr 18, 2005 (gmt 0)

10+ Year Member



Are these two statements exactly the same?

if (empty($bla)){
echo "this is empty"
}
&

if ($bla == ""){
echo "this is empty"
}

dcrombie

9:37 am on Apr 18, 2005 (gmt 0)

10+ Year Member



The php site [php.net] explains it better than I could ;)

gruntre

9:59 am on Apr 18, 2005 (gmt 0)

10+ Year Member



Oh Thanks,

You are dead right and from I can see there the answer has to be yes thaey are the same.

Cheers

 

Featured Threads

Hot Threads This Week

Hot Threads This Month