Report question

Question: Retrieve data from mysql by php to create flot graph