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();}?>

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

Scheduler problems related to execution of a single BLT by many schedules
Hello all,

We are running several MII instances in a distibuted architecture using a sing

send message to the java application
Oracle 10g with Windows platform.

I have a java application that periodically pings the d

Help with PHP Calendar code...
Hello, I'm new to this forum and I'm glad I found it.
I wrote this code for a PHP calendar as an

help understanding hidden input w/ php
hello i'm doing a tutorial where there are multiple forms for an edit page for a user to update thei

random generation
hi

i need help with generating this

numbers from 1-12

i want to generate in ran

Frustrated php Newbie
First off, I am pretty much a PHP nub. I can read and understand the language (most of the time) so

Help building / using array
First - this is a cross-posting, if this is wrong I apologise! What started out as a MySQL query que

Displaying Site Logo/Icon on a Title tag
really need some help out here. I want to insert a Logo/Icon just like the one close to the "PH

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.

Production Order Enterprise Service to Manufacturing Exctn Sys (MES) ???
Hello Experts,

In our current landscape SAP ECC 5.0 is integrated to MES system via PI 7.

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