with this code fragment:
<?
$string='/mobile/phone.html'; if (strpos($string,'/mobile/')!==false) { print "one: yes\n"; } if (strpos($string,'/mobile/')===true) { print "two: yes\n"; }
?>
only the first if statement prints anything. why is !== false not the same as === true ?
-jsd-
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php