title: Upload an image, Display, then write to SQL Server
body: <p>There are lots of questions regarding uploading images but I cant find a simple straightforward answer to the problem of;</p>
  
  <ul>
  <li>Browse button to select a local image </li>
  <li>Upload and display on web page</li>
  <li>Write to SQL Server database </li>
  </ul>
  
  <p>Surely this sequence of events must occur a lot on web sites - has anyone got a set of sample code using HTML, JS to upload and display, and PHP to write to the Dbase.</p>
  
  <p>ANy help much appreciated</p>
  
  <p>Phil</p>