Say I have an path: images/alphabet/abc/23345.jpg
How do I remove the file at the end from the path? So I end up with: images/aphabet/abc/
You want dirname()
dirname()
1.4m articles
1.4m replys
5 comments
56.9k users