i need the output like below.i want to generate a graph for my report so i need the result in mysql_fetch_assoc. i am new to this concept. basically am doing mysql_fetch_array thats all but now i need the associative array function.
$date = array("date" => reading);
$data = array("28-Sep-2012" => .0032, "27-Sep-2012" => .0028, "29-Sep-2012" => .0021,
"24-Sep-2012" => .0033);