1
私はprint_r($data)
からこれを取得:個々の値を表示する方法は?
Array (
[0] => Array (
[0] => stdClass Object (
[cto_office_id] => 1
[office_name] => Airtel India
[address_line1] => Bendoor well
[phone_office1] => 12345678912
[phone_office2] => 789451234512
[address_line2] => Kankanady Circle
[city] => Mangluru
[state] => Haryana
[pin_code] => 002
[country] => India
[web_url] => airte.co.in
[office_quote] => Office
[date_registered] => 2011-11-24 05:59:51
[bill_mail_id] => 15612561
[bill_mail_id_type] =>
[acc_status] => enabled
[comments] =>
[is_account_deleted] => 0
[account_deleted_date] => 0000-00-00 00:00:00
)
)
)
私はこの$data['phone_office1']
を試してみましたが、それは動作しません。
あなた自身と私たちに好意を持てますか? 'echo"
";'あなたの質問を出力で編集します。個人的には、これを自動的に行うp()という関数を持つprint_helperがあります。それを提案する。 –