0
我在這裏搜索了stackoverflo和mr。谷歌,但沒有找到我所尋找的,他們都只是結果,但問題是從什麼塊和其他什麼信息?
所以這裏是我正在工作的數組的示例與
按塊搜索並打印結果
Array
(
[28] => Array
(
[info] => stdClass Object
(
[nombre] => Jonny
[midname] => Smush
[lastname] => Hugs
[age] => 51
[street] => South 23
[block] => At2
[zp] => 01000
[city] => Baltimore
[state] => MD
[country] => US
[t_h] => 2343242343
[t_m] =>
[t_a] =>
[email] => [email protected]
[health] => Good
)
[emer] => stdClass Object
(
[t_h] => 2343243243
[t_w] =>
[t_m] =>
)
[date] => 2014-04-09 10:46:37
[news] => no
)
[29] => Array
(
[info] => stdClass Object
(
[nombre] => Tachio
[midname] => Magis
[lastname] => Dulsh
[age] => 23
[street] => South 23
[block] => At2
[zp] => 01000
[city] => Baltimore
[state] => MD
[country] => US
[t_h] => 2343242343
[t_m] =>
[t_a] =>
[email] => [email protected]
[health] => Ok
)
[emer] => stdClass Object
(
[t_h] => 2343243243
[t_w] =>
[t_m] =>
)
[date] => 2014-04-09 10:46:37
[news] => no
).. way to long to display all
所以,現在我們有基本的想法陣怎麼回事,現在我需要尋找: 名,midname,姓氏和年齡,如果這四個值是ID內的匹配(我忘了提及第一個關鍵[28] [29]是ID),然後顯示來自該ID的其餘信息([28],[29] ...)
我不得不提及那個數組沒有顯示在我的應用程序中的任何地方,只有結果,所以我的網址是類似的東西e:/search.php?d1=Tachio & mn = Magis & ln = Dulsh & a = 23
如果它發現數組中的匹配,則顯示其餘的信息。
我提到,我需要從中阻止哪裏發現的?信息的ID ...
感謝您抽出寶貴的時間。