Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PHP 

Convert String to url friendly string

Look it up on google preg functions in php :) Just use PHP's documentation you won't learn anything unless you go research it yourself :)
put your string in one variable.
make another variable valid char like "abc...xyz.ABC..XYZ012..9".
Check if the char in ur string is contained in valid char.
if yes,put it as it is
else,"-"


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Javascript]  by ♠ɪᴄᴇ♠Apr 26, 2016 08:41 PM 10 249 Apr 26, 2016 08:41 PM
Last Post: ♠ɪᴄᴇ♠
[PHP] by CPAManagerApr 30, 2013 11:19 AM 6 166 Apr 30, 2013 11:19 AM
Last Post: CPAManager
[PHP] by hebrew878Jan 4, 2013 09:47 AM 3 101 Jan 4, 2013 09:47 AM
Last Post: badbrains