<?php echo $this->form->getElement("logo"); ?>
<div id="BrowserVisible">
<input type="text" id="halal" />
<input type="button" value="Upload" id="button" />
</div>
(form-&gt; getElement(“logo”);?&gt;)字段由zend格式生成,当我从PC中选择图像文件时,上传文件路径或文件名显示在输入字段中,复制(<input type="text" id="halal" />
),我该怎么做。
Tahnks in advanced
答案 0 :(得分:0)
尝试使用此更改代码:
<?php echo $this->form->get("logo"); ?>