Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Write a PHP code to print following number pattern:
123
456
789

Answer Posted / ronak sharma

<?php
$count=0;
for($i=1;$i<=3;$i++)
{
for($j=1;$j<=3;$j++)
{
$count++;
echo $count;
}

echo "<br>";
}

?>

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is php a programming language?

1046


How to create a text file in PHP?

1123


What are the features of php 7?

1056


What is php artisan serve?

965


How to send a cookie to the browser?

1031


Why laravel is best php framework?

999


What is a php certification?

986


Explain the types of functions for Splitting String?

1013


Why do we use session?

1005


What are the advantages of indexes in php?

1042


What type of comments are supported by PHP.

990


How to set a page as a home page in a php based site?

944


What is difference between post and put in rest?

1010


How does php session work?

967


What is abstract class php?

934