Welcome to WebmasterWorld Guest from 54.166.191.159

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Are these the same?

     
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"
}

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

10+ Year Member



The php site [php.net] explains it better than I could ;)
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