Jump to content

[SOLVED] Something is causing a br!


Sulman

Recommended Posts

Hi,

 

I have a page that is reliant on many different pages and possibly hundreds of functions.

 

One page or function is outputting a br at the top of the page. But it could be coming from anywhere.

 

What's the best way to find out wich page or function is the naughty one?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/99159-solved-something-is-causing-a-br/
Share on other sites

hmm not sure how :P.

 

I would use an exit(); call near the start of the script and see if it still shows a <br>.

 

if it did i would move the exit() call up the script, check again if it still output <br>

 

i would repeat until i could narrow down the culprit ;)

------

 

think would be quicker than following the code line by line, echo by echo :P

 

hope this helps,

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.