i want to display numbers only from 01 to 12
How to write a loop
<?php
for($a=0; $a<10; $a++)
{
for($b=0; $b<10; $b++)
{
echo $a.$b.", ";
}
}
?>
chaitu11 0 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.