hello i need to print a php script that has a countdown from 10 to 0 with a while loop. Each even number needs to be bold, after trying and trying this is what ive got
<?php $number = 0; $multipl = 0; while ($result < 10) $result = $number + $multipl; if ($result = 2 && $result == 0 && $result == 4 && $result == 6 && $result == 8 && $result == 10); { ?> <?php echo $result; $multipl++; $sum += $result; ?> <?php } elseif ($result = 1) || ($result == 3) || ($result == 5) || ($result == 7) || ($result == 9); echo $result; &multipl++; } ?>could someone tell me what im doing wrong?