QUOTE(linzhiyi @ 13 Jan, 2008 - 12:52 AM)

how to use php to prompt if one variable is 0(the variable is initialised by 10 and decreased 1 by 1). worry to wait for answer,thank you.
CODE
$i=10;
for($i;$>0;$i--) echo $i."<br>\n";
echo "variable is equal to zero";