Hi there,
I have a folder of images on the server and a user account which contains a 'galid' inside 'gal' is 'galid' 'custid' 'imgname' and 'foldername'
What I would like to happen is to create a loop which looks at the correct folder, ie using a sql statement and attaching the 'foldername' attribute to a variable,
The loop then steps through the folder and inserts the imgname and foldername into gal until it has stepped through all of the images.
Can anyone point me in the right direction please?
I have looked at reading files and folders but it's getting me nowhere :/
Many thanks in advance