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
Recommended Answers
Jump to PostI do not know whether is in your server php online
learn to use php sandbox
Click Here
without the php tagfor($a=0; $a<10; $a++) { for($b=0; $b<10; $b++) { echo …
All 2 Replies
Reply to this topic
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.