Re: Getting totals
| From: | Rabin Vincent | Date: | Wed, 07 Jun 2006 04:38:08 +0000 |
| Subject: | Re: Getting totals | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237528@lists.php.net to get a copy of this message | ||
On 6/7/06, Rob W. <rob@fiberuplink.com> wrote:
Sorry for the miss understanding, That's the way the viarable will look, i'm putting it in as a viariable. if (strstr($block,$address)) { $inc++; }Like I said before, strstr's argument list is haystack (what to search in) first and then needle (what to search for). Therefore, you need to have: strstr($address, $block); Rabin