How to select image from folder by name in mysql.
This is mysql query for other rows
$query = "SELECT `posts`.`id` AS `post_id`, `categories`.`id` AS `category_id`,`title`,`contents`,`date_posted`
,`categories`.`name` FROM `posts` INNER JOIN `categories` ON `categories`.`id`= `posts`.`cat_id`";
how to select row 'image' where is name of image and call that image from folder?