[eluser]HSKrustofsky[/eluser]
I know this has been posted a bunch of times, but still can't seem to get the grasp of it. No matter what I do, it doesn't seem to work properly.
I am trying to convert:
index.php/blog/5
To:
index.php/blog/this_is_my_blog
I saw that the best way to achieve this is with using url_title(). Well, this is how I am trying to us it, and it doesn't work:
Code:
<?= anchor('idnex.php/blog/' . $row->id . url_title($row->title, 'underscore', true), '' . $row->title); ?>
The link works but it adds the title after the ID number(which I kind of figured would happen).
Anything else I try just kills the link, or the page.
Any suggestions?