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

Wierd echo error?
Hi, i got the most wierd php error ever and i don't know why..
Code: echo "<t

Procedural to OOP
John Kleijn said that to avoid writing "crappy code", we should learn OOP and common OO pr

Multi-image upload problems
Lets see if I can get some help on this one. Can anyone show me what I am doing wrong here. I'm just

How to clone an SAP ECC using bacup tape on z/os?
We want to clone our production to a different SID using backup tape.

Database/Table Collation
What is the Database, and table collations used for? i don't understand what there used for since co

php calculate
this code echoes correctly the sum but the inserted result is 0??
Code: <?php
$TotalNum

A little help needed passing hidden values to next page
I have a page that has hidden values in a form.

example
Code: <input name='signupID

small inaccuracies
I have this code to convert fractional base 10 into base 2:

while($num > 0)

asp authentication problem
Hello all, I want to use the asp authentication (from asp.net configuration) in my web site. there

Query failed issue with php script but works fine in mssql manager!
hi i have the script below which copies data from one table to another but will only insert new data

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