
|
|
$sql = mysql_query("select * fromfrontpagenews whereidentification = ".$_GET['identification']." order by createDate desc limit 0,7"); identification = ".$_GET['identification']." order by createDate desc limit 0,7");
mysql_query("select * fromfrontpagenews whereidentification = ".$_GET['identification']." = ". $_GET['identification']. "order by createDate desc limit 0,7");
$_GET['identification'] の最後の文字がスペースでない場合、$_GET['identification'] の値は注文に関係していますか?
$_GET['identification'] = 1 の場合 あなたの SQL コマンドは
"select * fromfrontpagenews whereidentification = 1order by createDate desc limit 0,7"
だけではないでしょうか?
不注意は人を殺す可能性があります。どうもありがとうございます。スペースがありません