• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
links problem

I have links with specific letter like "ą", what would be the best way to replace it to "a" and then use to link?

1. Load the URL helper:

2. Use function
to remove/replace all unwanted characters from strings (also replaces spaces with dashes).

I haven't tested this with "ą", but it replaces characters like ë and é with a regular "e"

EDIT: sorry, doesn't work. Just tested. The function merely removes "ą". You will probably have to write your own preg_replace function.

i tried it removes character

Yes, it does, I see. I edited my post.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.