range in php example January 13, 2013 Php Syntax: range($start,$end); Example: range(1,10); Program: range.php <?php $number=range(1,10); print_r($number); ?> Output: Thanks for reading this post…………!!! Share this: Click to share on Facebook (Opens in new window) Facebook Click to share on X (Opens in new window) X Click to email a link to a friend (Opens in new window) Email Click to print (Opens in new window) Print Like this:Like Loading... Related Leave a comment