this db select_max error |
[eluser]Pedro Luz[/eluser]
Hi, can anyone explain to me, why when i run this code: Code: $this->db->select_max('id'); I get this error: Code: A PHP Error was encountered thanks
[eluser]pickupman[/eluser]
Just tried the same syntax without issue. Have you my chance ever edited this file? I am looking at the lastest source from bitbucket, and at that line I see a foreach loop for select statements.
[eluser]Pedro Luz[/eluser]
hi, this is what i have in that line: Code: $this->ar_select[$key] = $this->_protect_identifiers($val, FALSE, $this->ar_no_escape[$key]); i never edited that file
[eluser]toopay[/eluser]
Maybe the error is come from another line of your model function.
[eluser]pickupman[/eluser]
What happens if right above that line you try var_dump($key); it seems like it maybe empty.
[eluser]deadelvis[/eluser]
I think this has been patched already? https://bitbucket.org/ellislab/codeignit...ile_select |
Welcome Guest, Not a member yet? Register Sign In |