Hi guys,
I have a table that stores file paths of images.documents,pdf etc... My query is
Select File_Paths from Uploads
Now how do I check whether the file path is image or not using PHP... If it is an image i have to view it or else download it.......