At 06:46 PM 6/6/2006, Rob W. wrote:
if (strstr(192.168.100,192.168.100.10)) {
 $inc++;
}
echo "$inc";

That returns nothing. What am i still doing wrong?


I would use quotation marks to explicitly type these as strings:

        strstr("192.168.100","192.168.100.10")

Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to