Monday, June 16, 2008

loop inside loop - user request

long time no post...
kalabaw20 asked me on a video tutorial i did on youtube (link here)... to do multiple loops .. so here's a loop inside a loop:
you add for example a while inside another one using different variables for incremention.. like this:
{
$i=0
while($i<100){
$y=0;
while($y<100){
echo $i."-".$y."
";
$y++;
}
$i++;
}
?>
The above code will show something like:
0-0
0-1
0-2
0-3
.
.
0-99
0-100
1-0
1-1
1-2
.
.
and so on.. untill it reaches 100-100

17 comments:

Happy said...

You have shared about loop inside loop that is awesome.Do you know which language is best for
web site development
,if you know then tell me.

Graphic Design Chennai said...

Its highly informative. I would be visiting your blog hereafter regularly to gather valuable information.

Web Design Company Chennai said...

Hey really I read love your blog… I am really thanks to you to share this informations in internet to my kind of persons… really I loved loved your blog…. I will come back to your blog every updates…

Webplore said...

Will work out on this, if felt good then will apply, nice post keep posting.......
Web Development

オテモヤン said...

オナニー
逆援助
SEX
フェラチオ
ソープ
逆援助
出張ホスト
手コキ
おっぱい
フェラチオ
中出し
セックス
デリヘル
包茎
逆援
性欲

web development company said...

Great post and very well written, that will really help you to learn Web Design, web development and SEO Strategies to help businesses web design company . You can find out many useful information about web design, seo and his work by visiting his blog and I Just wanna say thanks you for the information you have shared. Web Design Company India

kinjal said...

Nice blog.
Gorgeous blog.
its excellent

You can also find interesting stuf here.

Kolkata Web Design and Search Engine Optimization

Online Software said...

Thank you for sharing this nice post..

Web development company said...

Inforlinx is leading web development company is providing solutions in Web applications, mobile application development . Inforlinx (web development company) has more than 10 years experience in delivering web development solutions. Web development company

Suhana Qamar said...

I was looking for Kolkata web Design Company and landed your blog but found very interesting. I liked your blog very much. Thanks for posting such a wonderful contents. Though its not related to my Search Kolkata web design company but really I am impressed with your blog.

MLM Software India said...

I appreciate for post. I was looking for similar one. Can you update more details at link http://mlmdevelopers.com

Website Designing and Developm said...

I appreciate for post. I was looking for similar one. Can you update more details at link http://alienweb.in

Thanks

manoj

web design and development companies said...

i like you posting!!!!

social media marketing said...

Newbrandmedia is unique because we organize online campaigns that transcend the web and enter the offline world so as to generate leads and sales for our clients. We value each client and ensure the best for each of them.

Web development Company said...

I am interested in this topic and would like to find out some more information as my friend need information on this topic. Do you have any other articles about this?

aparna john said...

Hi,Social media is a web-based communication software that can interact with thousands of web users in the internet with Web Design Cochin. It is an accessible technique for all the business owners. Through the help of social media, the business will now be on its way to success.Thanks...

free content said...

This is a good article & good site.Thank you for sharing this article. It is help us following categorize:
healthcare, e commerce, programming, it consulting, retail, manufacturing, CRM, digital supply chain management, Delivering high-quality service for your business applications,
Solutions for all Industries,
Getting your applications talking is the key to better business processes,
Rapid web services solutions for real business problems,
Web-based Corporate Document Management System,
Outsourcing Solution,
Financial and Operations Business Intelligence Solution,

prologic-corp