Thread
:
a small problem and urgent
View Single Post
#
9
(
permalink
)
08-25-06, 04:09 AM
Nico
Community Leader
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
If
$stringval
is set to 0, like in the example above, then empty() will return true as well. You could try this:
PHP Code:
if (
trim
(
$stringval
) !=
''
AND
trim
(
$stringData
) !=
''
))
__________________
Zend Certified Engineer
|
My Twitter
|
HotScripts' Blog
|
HotScripts' Twitter
|
How to ask questions the smart way
Nico
View Public Profile
Visit Nico's homepage!
Find all posts by Nico