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

Basic Question Regarding PHP Includes
Hi

Just starting out with PHP.

Working on a site that uses some basic includes, these

form variables from database help.
Hi all,

I would like to have a form that gives you options based on the results of an mysql q

show random images
hey guys

can someone please suggest a way in which the following code can be edited so it onl

Default TimeZone
The server I'm working with is hosted in America so all times inserted into the database are coming

understanding functions and classes
Code: [Select]
class person {
var $name = "Jimmy Goe";

function get_nam

a function to check directory depth
I'm working on a php script to upload files in to a set directory.
the user can select to upload

Check Digits and extracting digits
I think I can figure out the code for this but I am having a very hard time getting past the first s

Problem with shopcart code
Hello, I am having a bit of trouble being able to add a product to my shopcart. My mysql database i

Inserting Data into a MS Access DB using PHP.
As part of my uni course I am doing a placement at a company whom want me to create a client zone fo

jquery validation in codeIgniter
hai i need to add client side validation to my fiels which are selected in a forloop.the fields are

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