Learn PHP Tutorial How To Use For Loops Code Samples Guide Steps Teach



Learn PHP Tutorial How To Use For Loops Code Samples Guide Steps Teach
 (387) PHP Mysql Hosting
Learn PHP Tutorial How To Use For Loops Code Samples Guide Steps Teach
Post Description:
Post Tags: learn, php, tutorial, how, to, use, for, loops, code, samples, guide, steps, teach
This Post Has Been Viewed 318 Times Since Tue Mar 06, 2007 3:09 pm Posted By hostman with 0 replies
Next Post »» PHP Tutorials - How To Make Create A Simle Array Single Dimentional Arrays
Learn PHP Tutorial How To Use For Loops Code Samples Guide Steps Teach
Today i will teach you how you can use a typical for loop.

all you need is webhosting with php. if you don't have one yet, visit www.webune.com and sign up for php hosting.

if you are using windows, you can use notepad to create php scripts

so open your notepad and copy and paste the code to see how this example (sample) script works


     Code:
<?php
for($counter =1; $counter <= 10; $counter++)
{
print("counter is $counter<br>\n");
}

?>


Output:
     Code:
counter is 1
counter is 2
counter is 3
counter is 4
counter is 5
counter is 6
counter is 7
counter is 8
counter is 9
counter is 10

Leave Your Comments     [ dejar commentarios ]
  * Name     [nombre]

  * eMail (will not be published)     [coreo electronico]

* Enter Your Reply or Comments:    [commentarios]


Add Picture To Comments         [incluir foto]
YES NO             upload
Receive Replies on my Comments (An email will be sent to you when someone replies to your comments)

     

Comments and replies About Learn PHP Tutorial How To Use For Loops Code Samples Guide Steps Teach




(0) Comments