Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在尝试学习如何编码并查看示例。在这一行中,我得到了主题错误,有人可以解释这一行的作用以及它为什么会产生该错误
$pages = ceil(mysql_result($pages_query, 0) / $per_page); //dividing total rows with total data to
这是因为在该行中:
$pages = ceil(mysql_result($pages_query, 0) / $per_page); //dividing total rows with total data to mysql_result($pages_query, 0);
返回假。