我已经通过Flutter Web & AWS创建了网站,可从https获得。但当我运行php读取Mysql数据库颤动代码时没有应答: In http Uri url =Uri.parse(“”);http.Response response = await http.get(url);
在https中,它不工作,而其他内容在http中可用,它工作
我在ubuntu上使用apache2,我不知道去哪里调查。提前感谢
我使用的是MySQL数据库。我完全确定该ID确实存在于数据库中。为什么它会转到最后一个(在哪里说的是//不正确的id)?
<?php
//Localise user id.
$userid = $_SESSION['userid'];
//Get content of the article.
$sql = "SELECT * FROM articles WHERE creatorid = '$userid'";
$re