Click to See Complete Forum and Search --> : Can the top of the html sheet be returned to for more printing?


tonyB
06-25-2006, 01:20 AM
while ($line1 = mysql_fetch_array($result1, MYSQL_ASSOC)){

(within this loop I process the hits, involving them in explode, implode, and other operations, including checkboxes, and finally print_r-ing them one at a time. I also push certain of those same hits into an array called $specialHits within that same processing. They gather there until the while loop is finished. At this point, all of the processed hits have been print_r-ed, and $specialHits is fully filled out. Problem is, I want $specialHits to be printed at the top of the page, ahead of the consecutive print_r of all the hits.)

}
Question: is there some html trick that will allow me to go back to the top of the sheet and print_r the values of $specialHits with a foreach loop in that area? Maybe reserving the top one inch? Do I really have to write two while-loops, one for the $specialHits, and the other for all consecutive hits?

kiwibrit
06-25-2006, 02:23 AM
I think you will have to carry on a new page in the same session. I think this is a server-side issue - I don't see it being resovalble in HTML.