How to get the required value displayed from the given array?

Posted by Parth on Stack Overflow See other posts from Stack Overflow or by Parth
Published on 2010-04-13T05:58:55Z Indexed on 2010/04/13 6:03 UTC
Read the original article Hit count: 192

Filed under:
|
|

From below array i want the value of "_sql" to be displayed or we can I want to echo the "_sql" value, so what should be the syntax to display it in PHP code?

JTableMenu Object
(
    [lft] => 
    [rgt] => 
    [home] => 
    [_tbl] => #__menu
    [_tbl_key] => id
    [_db] => JDatabaseMySQL Object
        (
            [name] => mysql
            [_nullDate] => 0000-00-00 00:00:00
            [_nameQuote] => `
            [_sql] => INSERT INTO `jos_menu` ( `id`,`menutype`,`name`,`alias`,`link`,`type`,`published`,`componentid`,`parent`,`ordering`,`checked_out`,`checked_out_time`,`brow............
            [_errorNum] => 0
         )
)

© Stack Overflow or respective owner

Related posts about array

Related posts about php