I called one function that returns a object.
here checkLogin is a ststic function of MyCAlss.
Code: Select all
$aa=MyClasss :: checkLogin($post['f_nick'],$post['f_password']);
print_r($aa);
[text]StatusResult Object ( [status:private] => [descriptions:private] => Array ( [0] => Login is not successful. ) [data:private] => )[/text]
above result I want in a variable so that I could process some checks.
How to get this result as a simple array.
Please help me to get it solve.