Can anyone help me with how I can call a pagination function in a mvc structure?
I links look likes this after the .htaccess
have done its magic:
controller/action/id
Before:
index.php?controller=&action=&id=
What i would really like to do is setting the url like
/controller/px
Where x
is any int value
my .htaccess
:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^([a-zA-Z]*)/?([a-zA-Z]*)?/?([a-zA-Z0-9]*)?/?$ index.php?controller=$1&action=$2&id=$3 [NC,L,QSA]
I'm hoping for some help or some pointer of any kind would be nice.