Welcome Guest, Not a member yet? Register   Sign In
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

Theme © iAndrew 2016 - Forum software by © MyBB