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
What is php namespace?
Which cryptographic extension provide generation and verification of digital signatures?
Do you know what is the function mysql_pconnect() usefull for?
What is the $_ server php_self variable?
Differences between get, post and request methods ?
What is php variable?
Which php global variable is used for uploading a file?
What is the meaning of ‘escaping to php’?
How to invoke a user function?
Explain which cryptographic extension provide generation and verification of digital signatures?
What is use of isset function in php?
What does $_server mean?
Explain the difference between array_merge() and array_combine()?
What are the differences between GET and POST methods?
How can we submit from without a submit button?