Re: Getting totals
| From: | Paul Novitski | Date: | Wed, 07 Jun 2006 02:06:40 +0000 |
| Subject: | Re: Getting totals | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237525@lists.php.net to get a copy of this message | ||
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