stm8s,怎么用寄存器写流水灯,有stm8的教程更好一些,易懂些,不直接要写好的。跪请大神帮忙。
1个回答
2015-07-23
展开全部
require_once('../baseClass/CommonQuery.php');
require_once('../baseClass/conn.php');
$sql="Select * from 'award' WHERE LEFT('AWARDDATE',4)='2010'";
$result=mysql_query($sql);
$count=mysql_num_rows($result);
if($count!=0)
{
echo "document.getElementById('awardNum').innerHTML= $count";
}
else
{
echo "document.getElementById('awardNum').innerHTML= $num";
}
require_once('../baseClass/conn.php');
$sql="Select * from 'award' WHERE LEFT('AWARDDATE',4)='2010'";
$result=mysql_query($sql);
$count=mysql_num_rows($result);
if($count!=0)
{
echo "document.getElementById('awardNum').innerHTML= $count";
}
else
{
echo "document.getElementById('awardNum').innerHTML= $num";
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询