Hi,

how can I get "2" with Url using CI, I try $this->uri->segment() but it doesn't work.

http://127.0.0.1/~nertos/index.php/website/search?search=abc+xyz/2

Any ideas?

You may try other $_SERVER global variable.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.