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

Help with file_get_html
The following code gives the expected results:

<html>
<head&g

Filename like the user name
I am creating a form and storing the values in file. Could anyone please tell me how to write a code

PEAR in appliactiond development
When I was picking up PHP I went from procedural programming, fairly quickly into OOP, then after wr

Confusing Functions
So, I've been reading up on Functions and I like them! However, I need some help using variables in

sql error
I have been looking at this code for 20mins and can't work out what I am doing wrong. There is somet

Cron Job and Output
I have php codes running under a cron job.
But everytime i output (echo) , it comes out as comple

Displaying a clickable playername
I am going wrong somewhere with the mysql_query, can someone please put me straight?

$playern

using variables in another page
I have a test database set up on localhost. I have a form that I can type a name into, hit the butto

Php - mysql select?
hi, i have this code:

Code: <?php
session_start();
// dBase file
include &quo

need help about
i store the value of my select statement result to an array and stored it to a variable named $fname

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