I've Got A Wayward PHP Tag

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
snowrhythm
Forum Commoner
Posts: 75
Joined: Thu May 04, 2006 1:14 pm
Location: North Bay Area, CA

I've Got A Wayward PHP Tag

Post 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?
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post 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.
User avatar
snowrhythm
Forum Commoner
Posts: 75
Joined: Thu May 04, 2006 1:14 pm
Location: North Bay Area, CA

Post 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...
Post Reply