I'm grabbing a file name out of a SQL database (like image.gif). I want to swap the .gif with .jpg but leave .jpeg, .jpg, and .png the way they are.
I know it's easy to do, but I've been coding for over 12 hours and my head hurts. I could sure use some help...ugh...
thanks a million in advance!