Control if query return value |
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?
What is the code in this method:
Code: $bilancia->countAllResoult()); Looks like a typo to me.
I think it is method of query Builder
PHP Code: dd ($this->countAllResults()); |
Welcome Guest, Not a member yet? Register Sign In |