Posted by Ivαn Sαnchez Ortega on 12/28/07 17:32
rynato wrote:
> So... my question is, how - when passing the argument '0' for $value -
> do I make PHP understand that 0 is not null, and so it should go ahead
> and write 'value="0"' instead of throwing my error msg?
RTFM about type juggling and the === operator. That should clear things up.
--
----------------------------------
IvΓ‘n SΓ‘nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
MSN:i_eat_s_p_a_m_for_breakfast@hotmail.com
Jabber:ivansanchez@jabber.org ; ivansanchez@kdetalk.net
Navigation:
[Reply to this message]
|