$stmtcon = $mysqli->prepare("Select content From tblcontent Where contentid =?");
$stmtcon->bind_param( s , $loadcontent);
$stmtcon->execute();
$stmtcon->bind_result($htmlcontent);
$stmtcon->fetch();
$stmtcon->close();
echo $htmlcontent;
The code works perfectly on my computer, but wont echo on the server I use. If i do an isset on the htmlcontent it comes back as true. Every other element on the page loads.
在环境中是否有任何东西,安全是明智的,可能阻碍这种反应? 内容载于html。
感谢。
编辑——我把实地类型从长篇改为案文,这是为什么由于已经作出的答复,会长期工作的原因。