Re: Getting totals

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux