Home > Backend Development > PHP Tutorial > 打到歧视与高傲,恳请各路侠客来给小妹指点一下迷津啦解决方案

打到歧视与高傲,恳请各路侠客来给小妹指点一下迷津啦解决方案

WBOY
Release: 2016-06-13 13:27:25
Original
858 people have browsed it

打到歧视与高傲,恳请各路侠客来给小妹指点一下迷津啦
刚接触PHP,所以不要嫌我的问题太简单喽。
想把php里面的取到的值放到赋给html,不知道还缺什么,html里的那个变量总是空的

PHP code
<!--

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"]这里面是有值的


Copy after login


HTML code
<!--

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>

Copy after login


我想刚才那个帖子可能是放错地方了,故此重新发一遍。

大家来帮帮忙

------解决方案--------------------
这两个页面是什么关系。用了什么模板引擎?
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template