![]() |
Control if query return value - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Control if query return value (/showthread.php?tid=87628) |
Control if query return value - pippuccio76 - 05-11-2023 HI i have this query : Code: $this->where('codice_macchina',$codice_bilancia); Code: Call to a member function countAllResoult() on null but if i do (by refresh) : Code: $this->where('codice_macchina',$codice_bilancia); It return 'inside if' . Why? RE: Control if query return value - JustJohnQ - 05-11-2023 What is the code in this method: Code: $bilancia->countAllResoult()); Looks like a typo to me. RE: Control if query return value - Mni.day - 05-13-2023 I think it is method of query Builder PHP Code: dd ($this->countAllResults()); |