Re: explode question

From: Date: Wed, 07 Mar 2001 16:30:32 +0000
Subject: Re: explode question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42927@lists.php.net to get a copy of this message
<?php function check() { $arrLoginName = explode("@", $row->usr_loginName); foreach($arrLoginName as $pos => $val) if (match) return 1; return ; } ?> is this what you mean? please post regarding. -- Chris Lee Mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 lee@mediawaveonline.com ""Rol"" <roland@blueline.digicomp.ch> wrote in message news:002301c0a726$615218e0$6ade10ac@wbt.net... Hello all, I would like to check some names ( @ seperated strings) with this global $PHP_AUTH_USER I first do $arrLoginName = explode("@", $row->usr_loginName); How can I construct a loop which stops and returns true if a match is found? Any hints would be great. Many thanks Roland

« previous php.general (#42927) next »