怎么将两个段代码 合成一个函数
<br />//php<br />$query_hx_php= "SELECT * FROM content_publish WHERE content_language_classification = 'php' group by content_original_autor ORDER BY content_id DESC";<br />$record_php = mysql_query($query_hx_php);<br />$record_cnt_php = mysql_num_rows($record_php);<br /><br /><br />//asp<br />$query_hx_asp= "SELECT * FROM content_publish WHERE content_language_classification = 'asp' group by content_original_autor ORDER BY content_id DESC";<br />$record_asp = mysql_query($query_hx_asp);<br />$record_cnt_asp = mysql_num_rows($record_asp);<br />
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号