countで数える。
0かどうかで分岐させる。
$sql = sprintf(‘SELECT count(ID) as IDCount,Type FROM imgs WHERE ID = “%s”‘
,$ID
);
$recordSet = mysql_query($sql) or die(mysql_error());
$Data = mysql_fetch_assoc($recordSet);
if($Data[‘IDCount’] != 0){
}
else{}

countで数える。
0かどうかで分岐させる。
$sql = sprintf(‘SELECT count(ID) as IDCount,Type FROM imgs WHERE ID = “%s”‘
,$ID
);
$recordSet = mysql_query($sql) or die(mysql_error());
$Data = mysql_fetch_assoc($recordSet);
if($Data[‘IDCount’] != 0){
}
else{}



今夜水曜日のトーク・パーソナリティーは、評論家の宮崎哲弥。ナビゲーターは、渡辺真理。そして、バトルトークのテー… 続きを読む


