Jump to content

Common errors


shakeit

Recommended Posts

Output is anything visible in the browser (ex: anything you can see when you view source in the browser).

 

This can be html, echo() calls, print() calls, ect.

 

Your best bet is to check out the output buffer functions.. and use a buffer to catch anything that would be outputted, and flush it to the browser at the end of the script

 

http://ca.php.net/manual/en/ref.outcontrol.php

Link to comment
https://forums.phpfreaks.com/topic/94271-common-errors/#findComment-482884
Share on other sites

Why don't you post some of your code so we can see what your doing and whats going on?

 

Yeah I would but there are so many places I get this error, hehe... anywayz I tried this solution by putting header an session_start() before anything else, and it works.. But what if I want to use header() in the middle of a html page :-S Thats the issue, but i get the idea... thanx...

Link to comment
https://forums.phpfreaks.com/topic/94271-common-errors/#findComment-482905
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.