php - Php Mysql 准备的语句自上传到 produktion 后不起作用
问题描述
在xampp中工作没有任何问题。现在上传到 Strato,它不再起作用了。此外,它停止构建站点的其余部分,但没有错误。
$stmt = $conn->prepare('SELECT * FROM tuerchen WHERE id=?');
$stmt->bind_param('i', $_GET["day"]);
$stmt->execute();
//Reaches here
$result = $stmt->get_result();
//Wont reach here
$fetch = $result->fetch_assoc();
解决方案
推荐阅读
- git - 为什么要保持 git 历史记录干净?
- linux - 如何在主机上跟踪容器
- r - Rpy2 - 调用名称中带有点的函数
- react-native - React Native 组件在第一次挂载后没有触发 componentDidMount()
- asp.net-mvc - 在交互式组件中设置的请求 URL 上没有收到来自 slack 的响应
- javascript - fa fa-search 在 mac 和 iPhone 中无响应
- oracle - ORDS post API 数据量有限制吗?
- c# - C# Word Interop 从范围中获取页面列
- c# - 如何更改自适应卡输入的水平对齐方式?
- javascript - 将 html 表导出到一列上有 tinymce 的单词