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

radio button reamains checked
Hello i'm trying to keep the state off my radio buttons so it shows which ones where clicked after t

Removing Title From database problem
Hi again ! i am having an issue with updating database. When i update any price of a title it remove

have trouble in a if condition
The if below is working ok, it check when indexes, name, zipcode and state are empty.
Code: &

void* and sizeof()
Hi,

Using void* and sizeof is it possible to get the value of the object ?

I understan

weeks in a year
hi,

i found this snippet on php.net
QuoteFor the week number for weeks starting on Sunday:

Namespace Problem
I'm having problem with a section of code with a variable namespace.

This code works fine:

Sql and php order list script problems
Hi im having a few problems with trying to get the coding right on a orders list ive done (or trying

MYSQL gen help
This is my Mysql gen. can anyone tell me why this echos

MID(networkset.networkid, 3, 3) AS &q

Menu restriction
How can I restrict the individual menu that would appear when a user logs in so that all users are c

Passing variables with pagination - iterating through unique id per link
Hi everyone,
I have seen a few topics like this one. Still cant find the specific thing, so I am

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