Posted by Charles Kline on 09/27/05 19:16
On Sep 27, 2005, at 12:07 PM, Charles Kline wrote:
> I am confused on how to get to the data in this object, anyone help
> me out?
>
> here is the result of my var_dump() which is inside a class
> function functionTest($data){ var_dump($data); }
>
> object(staff)(2) {
> ["arrStaff"]=>
> array(12) {
> ["bsStaffID"]=>
> string(4) "9090"
> ["bsLastName"]=>
> string(5) "kline"
> ["bsFirstName"]=>
> string(7) "charles"
> ["bsPhone"]=>
> string(4) "1212"
> ["bsSite"]=>
> string(1) "4"
> ["bsCube"]=>
> string(4) "1212"
> ["bsEmail"]=>
> string(6) "klinec"
> ["bp_boOrgID"]=>
> NULL
> ["bpPositionID"]=>
> NULL
> ["ptTitleName"]=>
> NULL
> ["bp_ptTitleID"]=>
> NULL
> ["bpVacantDate"]=>
> NULL
> }
> ["created"]=>
> int(0)
> }
>
Nevermind... I got it :)
echo $s->arrStaff['bsLastName'];
[Back to original message]
|