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

how to load a Sys file with system load and call images?
normally you need register the module as a service with CreateService, and start the service

Multi Level Array Problem
hi all,

For example I have array like below:

$temp = array(array('north america', 'us'

Convert .fdf to .pdf
I currently have a web form that uploads the form data to an .fdf file and emails it.

However

Turning Data into URLs?
This may seem very basic to you, but I'm having a hard time figuring out how to do this since I don'

couldn't connect to your database
Hello I am new to php mysql

Actually i have read A tutorial on nettuts
"http://net.tu

URL Rewrite issue
Im created a series of Rewrites and on page checks to make sure the correct url is being called. But

Multiple Options for a Single Page
For this example I want to use the Handlers option which is under Fed Admin and all the related codi

Upload file and add HTML
Hey everyone,

I have a client has meeting agendas and minutes that should be posted online. I

filesize() returns 0
I have a socket program that runs in an infinite loop, listening for connections, in this socket I h

Error Messaging not working
I changed the way my form tells the user of an error. But I can't seem to get it to work properly.

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