Thank you v much for replying to me , I have had a look and your code
is a v good starting point for me.
I am using gwt framework 2 and writing web app in java / mysql.
Once I manage to get bar chart from mysql data I would like the chart to
keep update as and when data is changed at the database any idea how do
I achieve that?
Once again thank you for your useful code.
Atif
On 08/01/2011 23:39, johnleaf wrote:
> well i know its been awhile and no one has responded to you; and my
> code isnt for a bar chart but for a world map, but you can study this
> php code and modify it accordingly to your particular needs(for
> mysql):
> //code for my query
>
> <?php
>
> $result = mysql_query($query);
> $k=0;
> while($row =
> mysql_fetch_array($result,MYSQL_ASSOC))
> {
> $nation =
> "{$row['country']}";
> $j=0;
>
> while( ( $country[$j] !=
> $nation )&& ($j<= $i))//this while loop matches countries with their