PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Here's the code to a hoax listing page I'm trying to make. It's meant to be an upload-file-and-forget job so it'll recognise and insert them automatically. Anyway, as far as I can see, the problem's with the "$meh" value, which is just a temp value for the rest of the stuff to use. Before I added the code to stop it from making dead links for images that weren't there, it made <img> tags with the filename being "-19" and going up one number each time (which leads me to believe it's a problem with my arithmetics, I need to get used to that sometime ;p) Finally, there's no parse errors or anything coming up. Anyone know what my problem is?