For immediate viewing and printing results

Discussion in 'PHP' started by Derpost, Jun 10, 2010.

  1. #1
    Friends for doing a job as a cycle. displaying the captured data, all but finished. After each cycle of the loop that I want to be displayed
    How can I do?
     
    Derpost, Jun 10, 2010 IP
  2. mfscripts

    mfscripts Banned

    Messages:
    319
    Likes Received:
    4
    Best Answers:
    8
    Trophy Points:
    90
    Digital Goods:
    3
    #2
    ??? Please can you give more detail what you need help with?
     
    mfscripts, Jun 10, 2010 IP
  3. Derpost

    Derpost Active Member

    Messages:
    95
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    61
    #3
    Turkish : for döngüsü ile içe döngüler oluşturacağım. Baştaki döngü 10 kere çalıştığında diğer 1 kere çalışacak.
    English : the inner loop will create the loops. The loop is run once per 10 times the other one will work.
     
    Derpost, Jun 10, 2010 IP
  4. sarahk

    sarahk iTamer Staff

    Messages:
    28,901
    Likes Received:
    4,555
    Best Answers:
    123
    Trophy Points:
    665
    #4
    Is this a homework assignment?
     
    sarahk, Jun 10, 2010 IP
  5. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #5
    If you're using a Loop
    Lets take the example

    
    <?php
    $i = 1;
    while ($i<=25)
    {
    echo $i;   // Put the codes here this will display the data in the webpage
    echo '<br/>';  // Put the codes here this will display the data in the webpage
    $i++;
    }
    
    ?>
    
    PHP:
    the concept is after each loop $i increments value and meanwhile it also prints itself in the page
     
    roopajyothi, Jun 11, 2010 IP
  6. Derpost

    Derpost Active Member

    Messages:
    95
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    61
    #6
    thanx.....
     
    Last edited: Jun 11, 2010
    Derpost, Jun 11, 2010 IP
  7. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #7
    Are you looking for this only???
     
    Last edited: Jun 11, 2010
    roopajyothi, Jun 11, 2010 IP