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

BI in Upstream Production operations
Appreciate if you can assist in the following areas:
1) Examples of life before and after BI i

Best way to read this text file.
Hi.I am planning to make a small application in C# to convert the players from Football manager 2010

Dynamic memory problem
Hey,

At the beginning of my code, I have this line:

Shape* gShape = 0;

Help With editting and deleting form
Hallo !!

So look at this image :

http://img194.imageshack.us/img194/8272/snapshot5f.pn

When file included, REMOTE_ADDR is server's?
I have an index file that handles my site, basically index.php?page=ip will activate "require('

foreach and array need help combining
Hi guys.

Here's the code

Code: array(
'tag' => 'code',<

Adding to an Int row in db
Hi, i have a database which houses all of the users of my site. One of the columns is for points whi

Preg_match question
I want to use preg_match to make sure a string is always 6 characters long and only contains 0-9 and

Table trouble
i have been reading the forum for a few weeks and decided to join. i like the format and the advice

Storing Values taken from a DB...
Using this code it will generate a short list from my database

<?php
mysql_connect

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