Hi,
wow, that was vague.
So you have an ( I assume ) array named $ep ?
It holds name, password and email…
I imagine:
[php]
$ep = array(
array( ‘name’ => ‘somename’,
‘email’ => ‘[email protected]’,
‘password’ => ‘XXXXXXXX’ ),
array( ‘name’ => ‘othername’,
‘email’ => ‘[email protected]’,
‘password’ => ‘XXXXYXXX’ ),
/* ( &c. ) */
);
[/php]
and from that point I have no clue what you’re trying to do.
You have the password and email and want to find in what ‘record’ that is?
Assume you have the password in $password and the email in $email,
that would look like:
[php]
foreach ( $ep as $eprow )
{ if ( $eprow[‘email’] == $email &&
$eprow[‘password’] == $password )
{ echo $eprow[‘name’];
}
}
[/php]
Is that what you were looking for?
If not, I’d really advise you to try and restate the question.
Good luck! =D
O.