exporting mysql db to excel
View Single Post
05-29-2008, 01:45 PM
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
It's probably a better fix to determine what's being output before the headers are sent. There's no reason why those headers can't be moved to the top of the script, before the function declarations and even before the included file (which could be the culprit as well as this script itself). Send your headers, include your file, run your mysql query, insert code here, then declare the functions, but that's just how I'd go about it. Use ob_start() for what it was intended, but not to fix a mistake.
View Public Profile
Send a private message to delayedinsanity
Visit delayedinsanity's homepage!
Find More Posts by delayedinsanity