How Can We Remove Slash '/' which is at end of $file_info[path]

Wednesday, November 4, 2015

I am fetching Folder Path with the help of values stored in database, I am getting exact path name with $file_info[path] but this is getting output with '/' at end of every folder.



This above code is showing path like :



/folders/New Files/Latest/


And I want result like



/folders/New Files/Latest


Guys Please tell me exact solution for this query.

0 comments:

Post a Comment