if you want to store the data, you'd likely be better off storing the query that generated the data. Then you can recreate the report as needed.
Another option is to create the entire report as one variable
$report = "this report is ...";
while ($rows = mysql_fetch_array($result))
{
$report .= $rows[0];
...
$reports .= $rows[n];
}
echo $reports;
Then you can do anything you need with the report. Save it to a file, save it to a db entry as a blob, etc...
If its stricitly the data, then you can do much the same but setup the data to be stored in key:value pairs that you can easily parse.