打到歧视与高傲,恳请各路侠客来给小妹指点一下迷津啦
刚接触PHP,所以不要嫌我的问题太简单喽。
想把php里面的取到的值放到赋给html,不知道还缺什么,html里的那个变量总是空的
<!--
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
-->
$data=$this->qaModel->select("1");
$formInfo=array("q_name"=>$data[0]["Q_NAME"]);
//$formInfo["q_name"]这里面是有值的
<!--
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
--><p class="Fld">
<label class="label-m" for="user"> お名前:</label>
<span class="control"><!--<input tyle="text" value="--><!--{$formInfo.q_name}-->
<!--" id="user"readonly >--></span>
</p>
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号