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

Problem executing bash script using shell_exec
Hi there,
I created a bash script file using following code to convert doc documents to pdf using

parse error
On my local machine I keep getting parse error for my footer. When I put it online, it doesn't show

records between 2 dates
Hello all,

I have a date tracked table which contains effective_start_date and effective

Motivational Posters
Hello,

I wonder how can i do them in php. Are there any sample codes that you can show me?

Code working in IE but not FireFox
I created a dynamic navigation list for my website based off of a table in my database. The code is

Join Query Help
Hi all,

I am having problems with the below code, which we shall call 'my first join query'!

passing an array of objects after submit
How do I do this? This is what I have tried and it is not working.

<form method="

with clause
hi all, i have a big query that usually access the same table more than once. for example, i have s

connect() succeeds but accept() does not?
Please help me with this problem. I'm working on a time-sensitive project where I'm using TCP socket

Help with Contact Form
I have this Form on an html page and the associated code on page.php (below).
I keep getting the

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