国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

When checking whether the column exists, an error is reported
萬(wàn)葉
萬(wàn)葉 2017-06-22 10:17:36
0
2
1163

$sql="select count(*) from cat where catname=$cat[catname]";

? ? $rs=mysql_query($sql);

? ? if(@mysql_fetch_row($rs)[0]!=0){

? ? echo "欄目存在";

? ? exit();

? ? };


萬(wàn)葉
萬(wàn)葉

reply all(2)
SunBoy

Post the error message

洪濤

$cat[catname] Is this an array? The content in [] should be enclosed in quotation marks

$sql="select?count(*)?from?cat?where?catname=$cat['catname']";


Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template