Hello guys, I need your Help, why i can get this warning?
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\OJT\FINAL\profile.php:112) in C:\xampp\htdocs\OJT\FINAL\profile.php on line 122
this is my code
<?php
$member_id=mysql_real_escape_string($_SESSION['id']);
$result=mysql_query("select * from user where id='$member_id'")or die(mysql_error);
$row=mysql_fetch_array($result);
$username=$row['UserName'];
$FullName=$row['FullName'];
$image1=$row['img'];
header("Content-Type: image/jpeg");
echo $image1;
?>
Thanks