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

PHP Search Issue
Hi, I am using the following code to search and return flights from a database. The user searches by

DateObject and Nulls
Hi all,

I have an array mapped to a value object. One of the items in the array is a PHP Date

Multiple while loops
I have several DB queries that I know should be returning results and aren't. I have a feeling it ha

am I using this for loop correctly
Dear buddies!

Right now I am generating a report with some details for all the dealers.

On page view, minus credit
Hello all, please, I need a little help with this script. I am charging one credit (credits can be p

get font info from a font file
hello,

Does anyone know how to get font info from a font file ... using php of course !
<

Limiting uploaded file type
Hi. First post here
I am working on a simple upload script, and I need it to limit the allowed f

How do I use a global footer..?
If my index.php has a bole bunch of if functions and exit's in them

What do you call the "token" thing?
You know how some sites have links that run on tokens? Tokens are links that only stay alive for a c

this code is strange !
Hi i got this code from the web.. It checks for live and dead socks
It is working perfectly on my

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