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

undefined offset help
Hi All,

I kept getting undefined offset PHP notice for a simple for loop. For eg
$va = arr

Greek characters in php
Hi,

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

urldecode question
How would I format this line of code properly?

<?php echo urldecode($_GET['Title']); ?

Entering Data Problem
Code: $result = mysql_query("SELECT * FROM flights");
while ($row = mysql_fetch_array($

Can I use a loop
Hi buddies!

Once again with my doubts here.

Right now I am using this sql stat

Select all entries from database that include a phrase
I have a database of clubs - one of the categories is meeting time and place
I would like to have

Help building / using array
First - this is a cross-posting, if this is wrong I apologise! What started out as a MySQL query que

php - xml what is the best way to do this.
IN essence I want to have a script calling the info from the database.. I have no problem thus far,

Multiple upload and Resize
I would like some help on my script I have the for my index.php

////

<html&

Error in query: Resource id #4??
hey guys, having a minor (i think) problem here that i havent been able to figure out. long story sh

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