uot;x equals y"
and "x is identical to y", and the implicit type conversions that occur.
Novices, study
http://www.php.net/manual/en/language.operators.comparison.php
http://www.php.net/manual/en/language.types.type-juggling.php
until you grok why
gives
0 == False
1 == True
-1 == True
DB - especially DB_common::quoteSmart()
or the more modern
http://pear.php.net/package/MDB2
I'm still partial to DB but suppose I will eventually have to move
to MDB2.
-- Tom Swiss / tms(at)infamous.net / www.infamous.net / www.unreasonable.org
"What's so funny about
hat's why it doesn't work!", would
be greatly appreciated. Thanks!
-- Tom Swiss / tms(at)infamous.net / www.infamous.net / www.unreasonable.org
"What's so funny about peace, love, and understanding?" - Nick Lowe
"Power to the Peacefu
"If needle is not found, strpos() will return boolean FALSE."
Checking strpos($foo,$bar) !== False is exactly right; since 0 == False,
you want to use !==, not !=.
-- Tom Swiss / tms(at)infamous.net / www.infamous.net / www.unreasonable.org
"What's so funny abo
4 matches
Mail list logo