PHP Compiler
<!DOCTYPE html> <html> <body> <?php $start = 10; $end = 25; echo "Odd numbers between $start and $end: <br>"; while($start <= $end) { if($start % 2 != 0) echo "$start "; $start++; } ?> </body> </html>
OUTPUT
Odd numbers between 10 and 25: 11 13 15 17 19 21 23 25
×
Save as
Private
Tag
AJAX
Canvas
CSS
Google Charts
HTML
Javascript
jQuery
JSON
SASS
SVG
Description
Save