php - 分页不可点击
问题描述
搜索后我正在努力解决分页问题。这是我用作模板的代码: https ://www.sourcecodester.com/php/14194/responsive-online-blog-website-using-phpmysql.html
但是这部分代码给了我一个标题:
if($i==$page){
$per_page_html .= '<input type="submit" name="page" value="' . $i . '" class="btn-page current btn-warning" />';
} else {
$per_page_html .= '<input type="submit" name="page" value="' . $i . '" class="btn-page btn-danger" />';
}
一切正常,但数字不可点击。所以没有办法进入下一页。
有任何想法吗?谢谢。
解决方案
推荐阅读
- javascript - 如何获取我自己的 Google Drive 文件的 md5Checksum 字段(仅通过使用类和对象,没有 http-requests)?
- javascript - 如何将元素从字符串插入到 html 文档中?
- azure-logic-apps - 如果未收到特定用户的电子邮件,如何触发 Azure Logic App?
- activemq-artemis - 访问集群 Web 控制台
- javascript - 延迟加载 vimeo 仅适用于数组中的最后一个
- julia - 如何读取包含“类型”稀疏矩阵的泡菜文件
'在朱莉娅? - android - 如何为 android SDK 命令行工具设置环境变量
- com - 文本服务框架未能将全局区间值设置为 VT_BSTR
- excel - VBA excel - 根据值返回第一行和最后一行
- javascript - Android:JS Bundle 未从 Metro Bundler Server 加载