How can I somehow convert "a 16134 !#¤ toko5 14&!G90 into like a-16134-toko5-14-G90 or something like that, so that it can be used as a part of the url.
|
PHP
Convert String to url friendly string |
|
http://cubiq.org/the-perfect-php-clean-url-generator
If you google well enough, someone else has ALWAYS made a function
Sep 11, 2012 08:48 AM
(This post was last modified: Sep 11, 2012 08:49 AM by Dave85.)
use this function:
PHP Code
With the preg_replace() function.
PHP Code |
|
|

