When running my script, I am getting several errors like this: Warning: ... No output before sending headers! Functions that send/modify HTTP ...
stackoverflow.com