Loading session class triggers header error

#2
[eluser]cideveloper[/eluser]
Try this. Remove everything after the closing bracket from the Example class (no newline after the closing tag either). You don't need the closing php tag at the bottom.

Also as a suggestion, change

Code:
public function Example()
to
Code:
public function __construct()

just to keep with the current ways of doing it.

Controller Constructors


Messages In This Thread
Loading session class triggers header error - by El Forum - 05-06-2011, 04:14 PM
Loading session class triggers header error - by El Forum - 05-06-2011, 11:30 PM
Loading session class triggers header error - by El Forum - 05-10-2011, 10:38 AM
Loading session class triggers header error - by El Forum - 05-10-2011, 10:58 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.