[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.