js中怎么把这两堆字体连接在一块显示到文本框 ,想要的结果 http://localhost/zc.php?id=31
<?phperror_reporting(e_all || ~e_notice);$str="31";$result=mysql_query("select * from ot_user where ue_account=$str"); while($rs=mysql_fetch_array($result)){?><script type = "text/javascript"> window.onload = function(){ var otextbox1=document.getelementbyid("zhxm");; var otextbox1=document.getelementbyid("zhxm");; otextbox1.value="echo http://localhost/zc.php?id="."<?php echo $rs['ue_id'] ?>"; //贬值给文本框 otextbox1.readonly = true; //文本框不可选 } </script>
js连接是用+号。和java一样
js用“+”号把字体连接在一起。
oTextbox1.value="http://localhost/zc.php?id=<?php echo $rs['UE_ID'];?>";//贬值给文本框
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号