Welcome Guest, Not a member yet? Register   Sign In
Pagination & routes
#21

[eluser]Guerra[/eluser]
You say about this code?
Code:
$output = $this->num_tag_open.'<a >config->slash_item('site_url').$loop.'/'.$this->base_url.'">'.$loop.'</a>'.$this->num_tag_close;
I tried it but i got nothing - Probably i not so do something :red:
#22

[eluser]Dam1an[/eluser]
I just reallised the forum is stripping out part of the code, it should be
Code:
$output = $this->num_tag_open.'<a_h_r_e_f="'.config->slash_item('site_url').$loop.'">'.$loop.'</a>'.$this->num_tag_close;

Just change a_h_r_e_f to be the standard link format (aka remove the underscroes and put a space between a and h
#23

[eluser]Guerra[/eluser]
i do
Code:
$output = $this->num_tag_open.'<ahref="'.$CI->config->slash_item('base_url').$loop.'/'.$this->base_url.'">'.$loop.'</a>'.$this->num_tag_close;
but the result remains former
Code:
http://localhost/site/index/2
:grrr: As correct in this case set routes?




Theme © iAndrew 2016 - Forum software by © MyBB