如何生成数组
在mysql库中一个表中有这样两个字段,$cont_type,$cont_id,并且各自的记录数都超过一条,如何生成这样一个2维数组呢$tarTree[$cont_type][]=$cont_id;用mysql_fetch_row()吗
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn