Get url-friendly version of the_title?

PHP has a function for url encoding that would probably work:

urlencode( get_the_title() );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)