im header already sent problem

is there a way to get rid of this error ?
A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\myapp\system\application\models\stock_model.php:2)

Filename: codeigniter/Common.php

Line Number: 360

You output something in your stock_model. Remove it and the error goes away.

i think that is becouse you already have
on your code
header doesnt allow another output such as
echo, print, etc
in it's script

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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