how to display image record dynamically from database in php