<? ob_start(); for ($i=1;$i<10;$i++) { echo ("$i <br />"); } $output = ob_get_contents(); ob_end_clean(); echo ("hello this is blah blah and now I will insert my loop here $output wow that was cool, as you can see we stored the loop in 'out' and displayed it at a latter time"); ?> //This will output: hello this is blah blah and now I will insert my loop here 1 2 3 4 5 6 7 8 9 wow that was cool, as you can see we stored the loop in 'out' and displayed it at a latter time
Comments
Name
Url (optional)
Message / Comment
What is 2 + 2 =
feel free to enter your url too, it's a free link back to you:
Please keep your comment related to the content on this page.