Omit the php closing tag at the end

No replies
jose
jose's picture
User offline. Last seen 43 weeks 1 day ago. Offline
Joined: 03/30/2009

When we add the closing tag at the end of a block of php code some problems with the headers and cookies, this happends because a newline is added directly after the closing tag (?>).

The solution is omit the closing tag at the end, this is perfectly legal.

Wine