faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 2 people (100%) answered Yes
Recently 2 of 2 people (100%) answered Yes

Entry

How would you test whether a variable contains an empty value,such as 0 or an empty string?

Mar 24th, 2008 20:01
ha mo, Himanshu Jain,


The empty( ) function returns true if the variable passed to it is
unset, or if it contains an empty value.
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com