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{}



BUFFALO USB2.0用 外付けポータブルDVDドライブ DVSM-PN58U2V-WH macに正式に… 続きを読む


「超魔術VS超能力!!これは奇跡か!?Mr.マリックが世界の怪人たちを徹底検証スペシャル!!」2007年5月1… 続きを読む
