我现在有一个按钮要实现上面一个下拉框中选中一项查询主键,再在下面文本框总填写查询内容(id,名称等)点击这个按钮查询出这个物品的全部内容,跳转到另一个页面显示,应该如何实现
解决方案 »
- 求mysql分表策略
- thinkphp循环输出怎么写
- 求救:php pdo+oracle在windows下安装不成功!?
- linux 下配置PHP mysql时,在启动/usr/local/mysql/bin/mysqld_safe &。。。报错Operating system error number 13 in a file operation.
- PHP写方法( javascript 实现也行),在线等并给分!
- preg_match对内容有长度限制啊
- 如何给上传文件加限制
- 请问大家现在开发网站用什么工具、语言或框架最好?
- 如何截取中文字符串保证不出现乱码?
- 新手来讨论一下,高手来帮一下。这样的问题不知道大家碰到过没有?
- 小弟跪求各位大哥帮忙啊,LAMP搭建的问题!
- php 无法读取 mssql 中文字段
2。然后利用选择函数if else,或者 条件选择cause 进行选择构建路径树达到你每种需要的效果
3。可以利用重定向,会话管理跳转到另一个页面验证,或者直接php服务器端或者html可户端验证
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head><body>
<p><strong>Search center</strong></p>
<table border="1" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td colspan="3"><table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="100%"><div align="center"><br />
<strong>Search center</strong> </div></td>
<td><p align="left"> </p></td>
<td width="10"><p align="left"> </p></td>
</tr>
</table></td>
</tr>
<tr>
<td width="10" height="206"><p align="left"> </p></td>
<td width="100%"><div align="center">
<form id="form1" name="form1" method="post" action="">
<p>
<select name="select">
<option value="c_cas">CAS-No</option>
<option value="c_name">Chemical Name</option>
<option value="c_no">Product Number</option>
<option value="c_fenzishi">Molecular Formula</option>
</select>
</p>
<p>
<input type="text" name="chaxun" />
</p>
<p>
<input name="Submit2" type="submit" value="go" />
</p>
</form>
</div></td>
<td><p align="left"> </p></td>
</tr>
<tr>
<td height="206"> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
代码是这样的 就是要选中下拉框的其中一项为基准,文本框为条件,按按钮查询跳转到a.php显示出这个物品的全部信息怎么写啊?????