FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Codeigniter - pagination
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Codeigniter - pagination [message #174392] Thu, 09 June 2011 22:22 Go to previous message
Tomasz opusiewicz is currently offline  Tomasz opusiewicz
Messages: 1
Registered: June 2011
Karma:
Junior Member
Hello i dont know why the 4 segment of my url is always empty ($3
number after slash)

ja use mod_rewrite:

RewriteRule ^kategoria-([0-9]+)-(.*)/([0-9]+).html$ index.php?/cat/
lista/$1/$3 [L]


config.php

$config['uri_protocol'] = 'QUERY_STRING';
$config['index_page'] = 'index.php';
$config['url_suffix'] = '';

Ofcourse without mod_rewrite method: index.php/cat/lista/3/40 works
fine
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: variable value gets lost
Next Topic: Stats comp.lang.php (last 7 days)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 07:02:24 GMT 2024

Total time taken to generate the page: 0.04219 seconds