php list 使用教程
list函数的作用list() 实际上是一种语言结构,不是函数。 ... 提示和注释. 注释:该函数只用于数字索引的数组
我们来看个list实例
list($arr,$ar2) =array('aa','66');
list ($status, $host_count, $records) = db_get_records($onadb, 'hosts', $where, "", 0);
list ($status, $dns_count, $records) = db_get_records($onadb, 'dns', $where, "", 0);
list ($status, $interface_count, $records) = db_get_records($onadb, 'interfaces', $where, "", 0);
list ($status, $domain_count, $records) = db_get_records($onadb, 'domains', $where, "", 0);
list ($status, $subnet_count, $records) = db_get_records($onadb, 'subnets', $where, "", 0);
list ($status, $pool_count, $records) = db_get_records($onadb, 'dhcp_pools', $where, "", 0);
list ($status, $block_count, $records) = db_get_records($onadb, 'blocks', $where, "", 0);
list ($status, $vlan_campus_count, $records) = db_get_records($onadb, 'vlan_campuses', $where, "", 0);
list ($status, $config_archive_count, $records) = db_get_records($onadb, 'configurations', $where, "", 0);
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号