My method is something like public function getSomething($id) $sql = "SELECT ... WHERE id =".$id; return $this->Model->query($sql); }
How should I use your tips? Il giorno venerdì 31 agosto 2012 05:11:34 UTC+2, Dr. Tarique Sani ha scritto: > > Using prepared statements via the fetchAll method with Sanitize::clean > is the way to go > -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
