homepage Welcome to WebmasterWorld Guest from 50.19.33.5
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Are these the same?
gruntre




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

Are these two statements exactly the same?

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

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

 

dcrombie




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

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

gruntre




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

Oh Thanks,

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

Cheers

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved