I have a table called 'urltech' in a mySQL database. I store urls's like this: 'data/name_data.htm' - I just need to change all the extensions from '.htm. to '.pdf'.
Any ideas?
As Piti says, this will work, I've done it myself, although I would use ".htm" & ".pdf" in the REPLACE statement otherwise, it may replace any occurrence of the letters "htm" in your data, not just the extensions.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.