<?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
[EMAIL PROTECTED]
""Rol"" <[EMAIL PROTECTED]> wrote in message
002301c0a726$615218e0$[EMAIL PROTECTED]">news:002301c0a726$615218e0$[EMAIL PROTECTED]...
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