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

Calling strings from other php class
I have test1.php{
$string1;
$string2;
....
... //10 strings in this class <

Need help with an email blocker for a guessbook
I am new with php and here is a simple guessbook page but I am being hit with spam from a group of t

PHP SUBMIT
Code: <input name="doLogin" type="image" src="images/loginsubmit.jpg

Need to write a cookie with a url var
Not sure if its possible, but I need to write a cookie with a url.

So this would write 2232 a

Adding delete feature to my forum
Hello I am currently trying to add a delete feature to my forum. I believe I have everything built r

passing data from one page to another
hey guys
i have the follwoing code to get information from one page and place on another:

"GROUP BY" in arrays
Well i'm looking to do something i usually could do easily using COUNT and GROUP BY if it was a sql

Php navigation
I have four buttons on a php page.
If i click a button it will redirect to different php pages.

mysql VARCHAR acting like INT
Hi, All.

I have a table that contains a varchar(10) column named weird_field. In this column

SAP BCS. BPS
Hi all,

I am seeking reading note on the following in BW

BCS, BPS
ADVANCE

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