How can I redirect in PHP with this setup below without getting header output errors, I understand that nothing can be printed to the browser before a header is set, I am lookin
Use ob_start() in the first line even befor the include. so you can set headers anytime.