Page 1 of 1

I've Got A Wayward PHP Tag

Posted: Wed Nov 22, 2006 11:32 am
by snowrhythm
Does anybody know why a

Code: Select all

?>
keeps showing up above all my html on the page?
I have a class that generates the html, and without printing out 600 lines of php here I thought
maybe someone has run into this before...any ideas?

Posted: Wed Nov 22, 2006 12:09 pm
by Burrito
without seeing your code there's no way we'd be able to know why that's showing up.

I suggest doing a search for any instance of ?> in your parent and included files and my guess is you'll turn something up.

Posted: Wed Nov 22, 2006 12:41 pm
by snowrhythm
Yep, i found an extra

Code: Select all

?>
in my dbconnect file, thanks mate. Something I should've known to do anyway, but I'm afraid my mind is on turkey and stuffing right now...