0
I searched several places to pass a post title in the url using codeigniter,
ex: http://Sirc/filmes/listar/clube-da-luta
The only way I could so far was to use the Helper url_title()
, but it’s time to search the bank for error because there is no club-of-fight title, but Fight Club.
Then I saw that I should create a field in the database to contain the post Slug to be used in the search.
I was wondering if there’s any other way to do this without having to go through the bank, using url_title()
or other function.
Really in these cases with hyphen or even with subtlety separated by two points would not work.
– Rafael Gonçalves