echo "<table border=1 class="imagetable" >"; //使用表格格式化数据
echo "<form action='tanchutext.php' method='POST' id='form1'>";
echo "<tr><th>小区编码</th><th>小区名称</th><th>工单类型</th><th>可选包名称</th><th width=70px>接入方式</th><th>地理位置</th><th width=50px>联系人</th><th>宽带账号</th><th>联系电话</th><th>受理工号</th><th>受理人</th><th width=80px>是否同时有互联网电视</th><th width=80px>预约时间</th><th width=80px>备注</th><th>预约人员</th><th width=80px>派单时间</th><th width=80px>生成预约短信</th></tr>";

while($row=mysql_fetch_array($result)) //遍历SQL语句执行结果把值赋给数组
{
echo "<tr id='t1' >";
echo "<td>".$row[xqbm]."</td>"; //小区编码
echo "<td>".$row[xqmc]." </td>"; //小区名称
echo "<td>".$row[gdlx]." </td>"; //工单类型
echo "<td><input type='hidden' name='kxbmc' value='$row[kxbmc]'>".$row[kxbmc]." </td>"; //可选包名称
echo "<td>".$row[jrfs]." </td>"; //接入方式
echo "<td><input type='hidden' name='dlwz' value='$row[dlwz]'>".$row[dlwz]." </input></td>"; //地理位置
echo "<td><input type='hidden' name='lxr' value='$row[lxr]'>".$row[lxr]." </input></td>"; //联系人
echo "<td><input type='hidden' name='kdzh' value='$row[kdzh]'>".$row[kdzh]." </input></td>"; //宽带账号
echo "<td><input type='hidden' name='lxdh' value='$row[lxdh]'>".$row[lxdh]."</input> </td>"; //联系电话
echo "<td><input type='hidden' name='slgh' value='$row[slgh]'>".$row[slgh]." </input></td>"; //受理工号
echo "<td><input type='hidden' name='slr' value='$row[slr]'>".$row[slr]."</input> </td>"; //受理人

//只要用<input>标签的type=“hidden”属性,就可以隐藏输入框,并且通过post获取value值,这个value值真的很重要,它可以等于从数据库动态读出的数据

echo "<td>".$row[sftsyhlwds]." </td>"; //是否同时有互联网电视

echo "<td><input name='yydate' class='tcal' id=shijian type='date'></input></td>";

echo "<td><input name='bz' type='text'></input></td>";
echo "<td><input name='yyry' id=in type='text'></input></td>";
echo "<td><input name='pddate' class='tcal' id=shijian type='date'></input></td>";
echo "<td><input type='submit' name='submit' value='发送短信' onclick='func()'></td>";
echo "</form>";

echo "</tr>";
}
echo "</table>";

最新文章

  1. hdfs client access the hdfs cluster not in one domain
  2. sharedpreferences的简单使用
  3. selenium总结篇,常见方法和页面元素的操作【转】
  4. CSS第四天总结 更多的属性 圆角 边框图片 段落属性 颜色渐变 盒子阴影
  5. django1.7取消syncdb后不能创建model相应表的问题
  6. SpringMVC实现一个controller里面有多个方法
  7. 6 让我们的C#程序开始做点数学运算
  8. hdu1021 Fibonacci Again
  9. java 菱形
  10. Struts2学习笔记1
  11. 用document.title=“xxx”动态修改title,在ios的微信下面不生效的解决办法!
  12. 今天是迅驰ORM的诞生之日。
  13. stm32之Systick(系统时钟)
  14. 三大框架之hibernate的反转
  15. mysql的一些特殊命令
  16. swiper插件的使用demo
  17. Unity User Group 北京站图文报道:《Unity虚拟现实实战技巧》
  18. Java 定义静态list
  19. 19.翻译系列:EF 6中定义自定义的约定【EF 6 Code-First约定】
  20. 【BUAA软件工程】第一次阅读作业

热门文章

  1. 调用{dede:likewords}为dedecms添加相关搜索词
  2. quick-cocos2d-x学习笔记—定时器
  3. JavaScript中的Function(函数)对象详解
  4. redis和memcached比较
  5. 在CentOS 7 上搭建LAMP
  6. java笔试二
  7. Python os.system 和 os.popen的区别
  8. Junit4测试
  9. order by 指定顺序 mysql
  10. 61. 从1到n,共有n个数字,每个数字只出现一次。从中随机拿走一个数字x,请给出最快的方法,找到这个数字。如果随机拿走k(k&gt;=2)个数字呢?[find k missing numbers from 1 to n]