• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it important???

#2
[eluser]wiredesignz[/eluser]
Hi anggie, Welcome to CI forums.

The error is due to having `whitespace` outside the <?php ?> tags in your Controller file.

Anything outside the tags is considered as HTML and is output, so you get a `headers already sent` error.

It's common practice now, not to use the closing tag ?> in pure PHP files.

Hope this helps.


Messages In This Thread
Is it important??? - by El Forum - 08-30-2008, 08:37 AM
Is it important??? - by El Forum - 08-30-2008, 10:31 AM
Is it important??? - by El Forum - 08-30-2008, 11:19 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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