I'm trying to get the
['text'] value from an array object.
When I try to print_r($item), I get this as output:
ToDo Object
(
[data:private] => Array
(
[id] => 128
[user_id] => 6785
[view_stat] => 0
[position] => 12
[text] => 3rd try
[dt_added] => 2012-07-17 04:29:08
[tick] => 0
[temp_view] => 6785
[viewer] => 6785
)
)
how to get the [text] value in php?? thanks
ToDoobject has... it should provide an interface to access this information.print_r(get_class_methods($item))to see if there is a public method to get what you want.