Need to replace all (french) accents to their non-accented equivalent

I have a page where I dynamically insert keywords with this function:

[php]<?php echo ucwords(str_replace("-"," ",$_GET["seed"]));?>[/php]

where “seed” is the word to be inserted that is passed on through the url like this: http://mydomain.com?seed=épicerie fine

(as an example)

Wherever I call up with the php function mentioned above, I need to replace the accented letters with their non accented equivalent.

I have tried various strings but as I am not familiar with php I need to know what exact piece of code to paste in my page to make this work.

I would really appreciate help here.

Many thanks in advance.
~F

Sponsor our Newsletter | Privacy Policy | Terms of Service