新手系列之三:如果显示同一类别下的所有货品信息???
页面左边有一个货品类别列表,右边显示该类别下的所有货品信息,该如何取得当前页面选择的类别?
<?php
$mysql_link=mysql_connect($host,$user,$password);
mysql_select_db($bdb,$mysql_link);
$sql="select * from t_games where Category='$category_select'";
$result=mysql_query($sql) or die(mysql_error());
while($row=mysql_fetch_array($result))
{
?>
//注:第3行的$category_select的值,也就是页面当前选择的货品类别如何取得???