Home  >  Article  >  Backend Development  >  关于PHP代码生成文本框的位置有关问题

关于PHP代码生成文本框的位置有关问题

WBOY
WBOYOriginal
2016-06-13 13:19:551181browse

关于PHP代码生成文本框的位置问题
我在php项目中有段代码是echo出一个隐藏文本框

PHP code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->
echo "<input name="ids" id="ids" type="hidden" value="$s">";



但是刷新页面时,这个文本框的位置出现在页面声明前,影响了整个页面样式的显示
HTML code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->
<input name="ids" id="ids" type="hidden" value="749,748,747,728,727,726,750,744,743,"> 




请问:有什么办法可以调整这个隐藏文本框出现的位置吗?谢谢!

------解决方案--------------------
你把他放到页面声明的下面么,放到BODY里面,就看不见了。
------解决方案--------------------


name=ids id=ids>

Statement:
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