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

Data type mismatch
Hi,
I am migrating data from algol to c.I mapped real datatype in algol to double datatype in

sendmail code suddenly not working
Hi Guys, I maintain 3 sites (including my own) I use the following code from a french webmaster that

Spaghetti Code
So.

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

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

count only commas outside parenteses
I have a sql table containing
id - query - query name
the first page contains a drop down men

upload photo limits
ive got a upload photo script and im just trying to make more secure currently it limits size and as

Get relative path from absolute path
How would one go about getting the relative path to a file from its absolute path?

Mail from PHP form not always ending up in my inbox?
Hi guys,

I'm a real newbie to PHP and have managed to put together a simple mail form that se

Random Number Generation And Probability
Hello, I am working on a function which has to insert data into a SQL table.

we have to suppl

help removing unwanted graphic
How do I remove the small elongated rectangular shape between the "Latest post" and "

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