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

Passing PHP variables from one page to another
Hello-

I'm having trouble figuring out how to transport a variable from one php file to anoth

Alternate messaging
I have 4 strings in MySQL db1

$string1 : Hello
$string2 : Hi
$string3 : Great
$strin

do while conditions
i want to display 6 images in a 2x3 table
now what would be the correct logic to
count that th

Greek characters in php
Hi,

I'm making a script and I m using for first time greek characters.
I started to write

how to use two buttons with php
hi i have one form. there are three fields which are to be filled by the user. and then there are tw

Problem with array max size.
Hi to everyone,
I've got a homework about filling a bidimensional array un spiral shape, I alre

Pagination
Okay here is the page in question: http://blenderteachings.000a.biz/tutorials.hamishhill.php

PHP search multiple input field box help
I am having a problem with my search script. At current it will simply search by a selected date whi

=> and <=
So I was digging through some code when I came across the <= operator. This is the first tim

2 decima places & How to reload my page
Hello There,

How do i put full-stop (.) after second figure from behind? ie if i have 123456

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