Heim >Backend-Entwicklung >PHP-Tutorial > html页面取不到php的值解决方法
html页面取不到php的值
<!-- 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>
<!-- 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"]这里面是有值的