php Programming Glossary: strseries
convert mysql resultset into a (name, data) object to be fed into HighCharts http://stackoverflow.com/questions/12520865/convert-mysql-resultset-into-a-name-data-object-to-be-fed-into-highcharts EDIT I was able to solve Q1 by doing the following count 0 strSeries while r mysql_fetch_assoc result if count 0 strSeries . name.. 0 strSeries while r mysql_fetch_assoc result if count 0 strSeries . name ' . r 'name' . ' strSeries . data . r 'data' . ' ' count.. result if count 0 strSeries . name ' . r 'name' . ' strSeries . data . r 'data' . ' ' count 1 else strSeries . name ' . r..
|