[snip] Good morning Jay, Try adding below the header in a php file & output the query data in HTML table format.
<? header("Content-Type: application/x-excel"); header("Content-Disposition: inline; filename=\"excel.xls\""); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); ?> [/snip] Good Morning James, This is a good idea, I could run one query to set the column RecordID, and then a second query to fill in the dates and quantities. Thanks! Jay --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php