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

check comment for html
hi, I just wanted to check if a comment a user posts contains HTML, and if it does, to not allow it

database design
Hi,

I got a page which allow candidate to type in their previous working experience,
I let

data type in column definition
Hi,
I create a table with column called "Direction of Travel code ".
The travel codes in t

Socket Server
In my following socket server, I am trying to listen to a connection through port 12345 in my web br

Windows 7
Windows 7 default user account control worries experts. Corporate IT departments should be pleased w

Motivational Posters
Hello,

I wonder how can i do them in php. Are there any sample codes that you can show me?

Undefined Variable: PHP_SELF, pls help
Hi,

Im a newbie on PHP / MySQL programming and Im running a script to search one field on my

Page Reload
I am having issues getting a page to reload after I submit data to a database. This form should inp

Converting numbers to months
The porgram works -just need the last function(month_convert_ to convert numbers to months -thanks.

Creating a db with a query
Hello everyone.
I'm having troubles creating a db with a query.
I'm reading a book called PHP

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