 <p>table:</p> <pre><code>CREATE TABLE MyTable ( _id INT(10) AUTO_INCREMENT, imagePath VARCHAR(50) ); </code></pre> <p>HTML/PHP</p> <pre><code>&lt;img src="&lt;?php echo $row['imagePath'] ?&gt;" /&gt; </code></pre>