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

MVC - Code review
I'm in the process of trying to wrap my head around MVC, and as part of that, I'm attempting to impl

Spaghetti Code
So.

I've pretty much reached the point where I have so many isset s on one page that I can't

Problem with Subscreen
Dear Experts ,
I am facing a problem with the subscreens. My senario is as follows :

Multiple upload and Resize
I would like some help on my script I have the for my index.php

////

<html&

[PHP HELP] Php order form.
Hello to everyone @ phpfreaks. Im new to this site and hope to learn lots of things here.

Fir

Need help making a blockquote and line items conditional
I have some code I bought a few years ago that allows my clients to update content on their site usi

some questions
Hello,

I am looking for the answers for following questions:

1) Does PHP support overl

$variable $variables type question
I need to be able to designate an array element dynamically, so I thought to use a variable variable

Mysql error message
help me find out what this error message means:

"Duplicate entry '0' for key 'PRIMARY'&q

Inserting into MySQL Newbie
Hi ive got a slight problem where ive made a simple web form where the customer inserts the ammount

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