当前位置: 移动技术网 > IT编程>开发语言>PHP > PHP+MySQL实现输入页码跳转到指定页面功能示例

PHP+MySQL实现输入页码跳转到指定页面功能示例

2018年08月10日  | 移动技术网IT编程  | 我要评论
=1;};?> <html> <head> <meta http-equiv="content-type" content="text/html; charset=gb2312" /> <title>查询结果的分页显示</title> <style type="text/css"> <!-- .style1 {font-size: 12px} .style2 {font-size: 13px} a:link { text-decoration: none; } a:visited { text-decoration: none; } a:hover { text-decoration: none; } a:active { text-decoration: none; } --> </style> </head> <script language="javascript"> function chk(form){ if(form.page.value<=0||form.page.value>form.pages.value){ alert("您输入的页码无效!!"); form.page.focus(); return(false); } return(true); } </script> <body> <table width="500" border="0" cellpadding="0" cellspacing="1" bgcolor="#11dff0"> <tr> <td width="100" height="25" align="center" bgcolor="#11dff0" class="style2">姓名</td> <td width="100" align="center" bgcolor="#11dff0" class="style2">编号</td> <td width="125" align="center" bgcolor="#11dff0" class="style2">电话</td> <td width="175" align="center" bgcolor="#11dff0" class="style2">地址</td> </tr> <?php if($_get
3

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网