首页 > 解决方案 > 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();

标签: phpmysqlmysqli

解决方案


推荐阅读