title: Image not showing up in php though inserted in sql database
body: <p>This is my code having a table with diff columns</p>
  
  <pre><code>CREATE TABLE IF NOT EXISTS `pcategories` (
    `categoryid` int(11) NOT NULL AUTO_INCREMENT,
    `catimage` varbinary(max) not null,
    PRIMARY KEY (`categoryid`)
  ) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=14 ;
  </code></pre>
  
  <p>i want to insert image in "catimage'column. I have tried these 2.. kindly help me in fixing this</p>
  
  <pre><code>INSERT INTO `pcategories` (`categoryid`, `catimage`) VALUES
  (9, 'p2.gif');
  
  
  INSERT INTO `pcategories` (`categoryid`, `catimage`) VALUES
  SELECT 9, 'Laptop Computers', BulkColumn 
  FROM Openrowset( Bulk 'C:\wamp\www\OnlineBiddingSystem\images\p2.gif', Single_Blob) as EmployeePicture
  </code></pre>
  
  <p>KINDLY HELP ME</p>