PHP头条
热点:

mysql-phpif判断数组返回[false]如何实现


mysqlphpjson数组

请注意 是[false] 不是false
因为前面应需要加了[]

$sql_notice=mysql_query(sql语句)    $arrData =array();    while ($arrData[] = mysql_fetch_array($sql_notice))    {       $arrData;    }    $sData = array_values($arrData);    if(。。。){    Response::json(200,'success',$sData);    }

www.phpzy.comtrue/phpyy/3317.htmlTechArticlemysql-phpif判断数组返回[false]如何实现 mysqlphpjson数组 请注意 是[false] 不是false 因为前面应需要加了[] $sql_notice=mysql_query(sql语句) $arrData =array(); while ($arrData[] = mysql_fetch_array($sql_notice))...

相关文章

相关频道:

PHP之友评论

今天推荐