21,886
社区成员
发帖
与我相关
我的任务
分享
<?php
error_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>