再会。
我有数组:
$arg = array(12) { ["domain"]=> string(6) "7OXD.COM" ["nserver"]=> string(17) "ns2.fastpark.net." ["state"]=> string(31) "REGISTERED, DELEGATED, VERIFIED" ["person"]=> string(14) "Private Person" ["registrar"]=> string(12) "R01-REG-RIPN" ["admin-contact"]=> string(42) "https://partner.r01.ru/contact_admin.khtml" ["created"]=> string(10) "2010.02.17" ["paid-till"]=> string(10) "2014.02.17" ["free-date"]=> string(10) "2014.03.20" ["source"]=> string(3) "TCI" ["Last updated on 2013.09.04 01:26:34 MSK"]=> string(0) "" [""]=> string(0) "" }
如何检查是否有数组键nserver?
PS:我用过if(in_array("nserver",$arg)){echo 'yes';}
但没用...