include_once('session.php');
include_once('config.php');
$userid = $_SESSION['userid'] ;
$uname = $_GET['uname'];
$query= "call sp_active('$uname','$userid',@u_active)";
$result = mysql_query($query) or die('query_error'.''.mysql_error());
if($result)
{
header('location:vagent.php');
}
simple php code.. but still throwing Cannot modify header information - headers already sent by
i have also use ob_start(); but of no use