help need on ob_start()


Posted on 16th Feb 2014 07:03 pm by admin

Hi

I am a newbie in php, I have a code
Line number On/Off | Expand/Contract <?phpob_start();for($i=1;$i<=10;$i++){ sleep(1); echo $i; ob_flush();}?>
Did you know?Explore Trending and Topic pages for more stories like this.

I am trying to display one number in each second, but the browser showing all the numbers at once. where is the error ? how can I modify this code to show such a way
No comments posted yet

Your Answer:

Login to answer
169 Like 8 Dislike
Previous forums Next forums
Other forums

Aris, Netweaver BPM, Visual composer and X'app
Dear Experts,

Whats the relationship between the following components: Aris, Netweaver BP

Modal Popup Help
Hi guys, I have a modal popup with an iframe. How can i send data from a label or textbox to the ifr

help with multi-update
Now sure how to ask this really....
10g database if that matters.

I have a customer

Socket problem
Hello,

Earlier I posted about my problem with my socket script. It took up to 100% CPU usage.

Display a default image
I am trying to display generic image for items that don't have one, but I can't get it to display.

RadioButtonList data selection
view plaincopy to clipboardprint?

how to get sn motherboard
Hello.
I want to get serial number motherboard, cpu and else hardware.
Can You show me sam

urldecode question
How would I format this line of code properly?

<?php echo urldecode($_GET['Title']); ?

elseif help!
OK so I'm new to the site, as well as PHP altogether (Trying my hand at managing an online RPG) and

unserialize help, getting errors
hi all ,
I got a form with 6 fields (2 input and 4 select box), when the page loads one block is

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash