Jump to content

[SOLVED] simple remove last charater on string ?


samoht

Recommended Posts

Hello all,

 

I have a simple question - that I used to know how to do bu for got  ;)

 

I have a variable $mm_action_url that returns the base url that url strings get attached to.

 

Anyway on my localhost things work fine but live (ex www.mysite.com) there is an extra slash (ie. www.mysite.com//myurlstring/...)

 

What is the php for removing the last slash on my variable?

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.