![]() |
print session variable I need a little help with how to print this session variable to screen the password field is the one im trying to echo out. Array ( Object ( [path] => Array ( [0] => Array ( [post] => Array ( [password] => 123456 ) ) ) ) ) |
Re: print session variable Is there a particular piece of software you are using or is it custom coded? From the code you posted, the password is in an object. You'll need to look through the code to see where the object was instantiated... something like: PHP Code: Then to view the variables (object properties) you can use syntax like: PHP Code: HTH |
Re: print session variable I think this syntax will work Quote:
|
Re: print session variable It's an array of a multidimensional array object...(try typing that out quickly) Once you get the object out of the array... PHP Code: |
Re: print session variable clean output in the screen: <pre> <?php print_r($myobject->password); ?> </pre> |
Re: print session variable or you can use var_dump($myobject->password) as well |
| All times are GMT -6. The time now is 12:49 AM. |