I just have a simple doubt in cakephp, it may be also silly.
Writing queries in cakephp:-
1.$output1 = $this->Modelname->query("Select * from tablename");
2.$output2 = $this->Modelname->query("Update tablename set .....");
When i execute the first query i.e $output1. It runs perfectly. But wen i run $output2 it wont run correctly
What may be the problem ??