CodeIgniter Forums
not working getGetPost and getPostGet - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forum-6.html)
+--- Forum: Issues (https://forum.codeigniter.com/forum-19.html)
+--- Thread: not working getGetPost and getPostGet (/thread-77055.html)



not working getGetPost and getPostGet - fmkiddo - 07-15-2020

Hello Mate.

Currently using CodeIgniter 4.0.3 for a project I created, i do not know if this is a known bug or not.
But Recently i discovered, when using getGetPost or getPostGet, the second fallback doesn't return anything just empty array (array (0) {} with var_dump), but when i tried the getGet or getPost it return just fine.

So i post it here so someone could take a look.

So for workaround i just using the regular getGet or getPost.

Good Day Mate.


RE: not working getGetPost and getPostGet - primeshredreviews - 12-23-2020

I think when I use getGetPost with $index parameter is null , it should get ALL Get Data, isn't it?


RE: not working getGetPost and getPostGet - InsiteFX - 12-23-2020

You should upgrade to CodeIgniter 4.0.4 which may have already fixed the problem.


RE: not working getGetPost and getPostGet - paulbalandan - 12-23-2020

I don't know if it is on 4.0.4 or on the dev version, but definitely there's already a fix for that.