sql语句在页面执行就报错,放到phpmyadmin执行正常select * from bn_product where Id=4;create table abc(cmd varchar not null)--<?php
require_once("config.php");
$Id=$_GET["Id"];
$me="select * from bn_product where Id=".$Id."";
$sql=mysql_query($me);
$myarr=mysql_fetch_array($sql);
?>
很莫名,求解