No, I can name the files anything. It turns out that it doesn't work in certain situations.
The setup of the app is basically bunch of registered users. Then each user can post multiple pages which contain their cars. Each car page then can have multiple pictures. So it's basically got a database with three tables. The image names are stored in the database, and the files are renamed with a set convention. Now depending on the car page, an image might upload or it might not. The image doesn't matter, it's more the page. There is a addcar.php form which links to an addcar2.php(I know, but I'm still a novice). Something doesn't seem to be working when the car ID equals 14 for example. The data(model, year....) is entered for car ID 14, but none of the images work. It works fine when car ID equals 31.
The code is a mess, but like I said, it's my first project.... 😉
I'll post some of the code when I get more than a minute, but hopefully somebody has a remote idea.