0

I have just started using HTML5, so I went through its new attribute and came up to the progress bar feature. I want to implement it with my PHP and MySQL report. I would like to show the progress bar while the row gets fetched from my query into the php report so can any one help in showing of how it can be done ??? Here is my simple report code:

$query = mysql_query("SELECT * FROM `table`")or die(mysql_error());

while($row = mysql_fetch_assoc($query)){

/***My report code**/
}

<progress value="22" max="100"></progress>
cleg
  • 4,862
  • 5
  • 35
  • 52
user2274075
  • 117
  • 1
  • 3
  • 21
  • Can you post your ajax request code? – Sergio Aug 16 '13 at 06:54
  • well that was just a sample query i just want to knw of how could i place the exact value from the query to the progress element so that the progress element could be shown properly – user2274075 Aug 16 '13 at 06:55
  • I think you can find that answer here: [Progress bar while running while loop](http://stackoverflow.com/questions/14353914/progress-bar-while-running-while-loop) – Sergio Aug 16 '13 at 06:56
  • can u tell how many rows are there? in that case i can help you – Anshu Dwibhashi Aug 16 '13 at 07:00

0 Answers0