Welcome Guest, Not a member yet? Register   Sign In
links problem
#2

[eluser]JoostV[/eluser]
1. Load the URL helper:
Code:
$this->load->helper('url');

2. Use function
Code:
url_title()
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.


Messages In This Thread
links problem - by El Forum - 08-24-2008, 01:15 PM
links problem - by El Forum - 08-24-2008, 01:24 PM
links problem - by El Forum - 08-24-2008, 01:28 PM
links problem - by El Forum - 08-24-2008, 01:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB