retrieve image from database using php
while($food_name=mysql_fetch_array($result))
 

 {
                
	  
               echo   $food_name["food_name"];

                      $food_name["food_price"]; 
				
	            $content = $food_name['image'];
 
	            header('Content-type: image/jpg'); 

	      echo $content;
  }

I want to retrive the image from database and I am using the dataype LONGBLOG for images.
I am getting error.

retrieve image from database using php
===

while($food_name=mysql_fetch_array($result))
 

 {
                
	  
               echo   $food_name["food_name"];

                      $food_name["food_price"]; 
				
	            $content = $food_name['image'];
 
	            header('Content-type: image/jpg'); 

	      echo $content;
  }

I want to retrive the image from database and I am using the dataype LONGBLOG for images.
I am getting error.
