al Posted February 10, 2010 Share Posted February 10, 2010 Hi PHP Coders. I have this arrays and would like to display only the ones that are [type] => A not AAAA. Is this possible? Thanks Array ( [0] => Array ( [name] => ns1.localhost.com [type] => A [class] => IN [ttl] => 98007 [rdlength] => 4 [rdata] => �Hdd [address] => 192.168.0.1 ) [1] => Array ( [name] => ns1.localhost.com [type] => A [class] => IN [ttl] => 259200 [rdlength] => 4 [rdata] => �Hd [address] => 192.168.0.2 ) [2] => Array ( [name] => ns3.localhost.com [type] => AAAA [class] => IN [ttl] => 259200 [rdlength] => 4 [rdata] => �Hd [address] => 192.168.0.3 ) Link to comment https://forums.phpfreaks.com/topic/191627-print-only-certian-arrays/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.