i am trying to fetch only image from database.In database the table (post_content) have image along with description i only want image.is it possible?Keep in mind that $row['post_content'] has image and decription.
<?php
$sql = "select * from wp_tableposts;";
$res = mysql_query($sql);
while ($row = mysql_fetch_array($res))
{ echo'Post Contant:'. $row['post_content']. '';}
?>