we have a getMember($id) {} function, to return the member who's id=$id,
now we can write a similar function to return a member who's name is (nawar)
but using the same technique, right?
like this
PHP Code:
public static function getMember ( $f_name) {
//////
}
of course with take care of the parameters in the bindValue.
I hop so its gonna be easy to use it with a search form.