www.webdeveloper.com
Results 1 to 2 of 2

Thread: printing new page in a loop

  1. #1
    Join Date
    Jan 2003
    Posts
    72

    printing new page in a loop

    I want to know how to print a new page within a loop all the time.
    EG:
    foreach $slot (@name) {
    print "$slot";
    }

    however this prints beneath one another, what i need is for that to print as a new page, sort of like replacing one another.

    Thanks
    Goran

  2. #2
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    You cannot return multiple pages to the client. Whatever has been printed to STDOUT by the time your program finishes execution is what the user will get.
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles