Home >Backend Development >PHP Tutorial > 使用匹配查询mysql得到结果后怎么在另外一个页面显示

使用匹配查询mysql得到结果后怎么在另外一个页面显示

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 13:00:261493browse

求助 使用匹配查询mysql得到结果后如何在另外一个页面显示?

本帖最后由 maniachhz 于 2012-11-25 16:16:01 编辑 大家好,
问题是这样的.
我新建了一个表用来保存licenses,
create table fwbd_mac<br />
( mac_eth char(12) not null,  //保存mac号<br />
  mac_license varchar(750) not null, //保存license文件<br />
  mac_date date not null,<br />
  primary key (mac_eth),<br />
  unique license_index (mac_license)<br />
 ) ENGINE=MyISAM DEFAULT CHARSET=latin1;


我使用匹配查询数据库后得到多个结果, 用表格输出. license字段文件内容我想在show_info.php 页面显示, 请问如何把得到的$row['mac_eth']传递到show_info.php查询licnese? 我这样写,得无效
echo "显示";  PHP解释器parse error .
		<br />
while ($row = mysql_fetch_array($result))<br />
{<br />
	echo "<tr>";<br />
	echo "<td>".add_delimiter(strtoupper($row['mac_eth']))."</td>";<br />
	echo "<td><a href ='show_info.php'>显示</a></td>";<br />
	echo "<td>".$row['mac_date']."</td>";<br />
	echo "</tr>";<br />
}

------解决方案--------------------
echo "显示"; 
------解决方案--------------------
echo "显示"

echo "显示"

要按规则来写
------解决方案--------------------
$_GET['mac_eth']
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn