+ 1
I want to echo $a if its modulus is zero but not displaying. Please what could be wrong?
<?php for ($a=1; $a<500; $a++){ ifelse ( $a%2=0) { echo $a."<br/>"; }elseif{ echo "There is a remainder"; } } ?>
1 Antwort
+ 1
Thank you Mirielle. Correction done. Working now.