Hi guys
I am building a website which allows people to advertise their property online for free. I allow people to upload up to 5 images to my database.
I store the name of the file in the database and the image itself is stored elsewhere on the server.
I store the file names in the database table under, pic, pi2,pic3,pic4,pic5
I need to check if a filename exists in pic,pic2 etc and if one is present then the image is displayed and if not the code moves on.
I have been goven help from other forums but the code I have been goven has not worked.
Any help would be appreciated.