05-29-2008, 01:45 PM
|
#6 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
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. 
-m
|
|
|
|