![]() |
Create link from current with concat new query - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Create link from current with concat new query (/showthread.php?tid=82620) |
Create link from current with concat new query - UchihaSV - 07-31-2022 Hello, is Ci4 have any function or helper for: Get current url and make new url with appended new GET query params. I think something like this already realized in model pager->links() and need be available to use in general cases. Function need concat depends of current url have query string or not, use "&" or "?" for new params. RE: Create link from current with concat new query - kenjis - 07-31-2022 See https://codeigniter4.github.io/CodeIgniter4/libraries/uri.html |