title: writing insert statement for image in php
body: <p>My DB developer made me a db with a field in the SQL table as image type.
  I am trying to take the image someone uploads and just insert it in.</p>
  
  <pre><code>$imagePath  = Input::file('image');
  $image     =  $imagePath-&gt;getPathName();
  </code></pre>
  
  <p>$image returns the temp path name</p>
  
  <pre><code>$file = fopen($image, "rb");
  $content = fread($file, filesize($image));
  fclose($file);
  
  $SqlConn =  "INSERT INTO [poll14] ([image]) VALUES ($content)";
  </code></pre>
  
  <p>But I get this error:  An error occurred substituting the named parameters. 
  How am I supposed to be inserting the data in?</p>