Hey,
Here is the situation: I have a gallery of images that are being displayed with javascript that requires the image files to be saved as img1, img2, img3, etc. I am currently trying to write the php code that keeps track of the number of image files and allows more images to be added into the gallery by a user. The only problem that I can't get past is saving the images in a proper format using the string "image" and then the variable number of images in the folder. Any combination of "." and the string and variable just print as the string only. Help please?
Current code:
$path = "img" . "$filenum";