Need help with basic search query related stuff... |
[eluser]Aken[/eluser]
You shouldn't pass query parameters directly from the $_POST array. Sanitize it before using it. LIKE is a pattern search, rather than an equality comparison (= or !=). http://theopentutorials.com/tutorials/my...-operator/ Code: $this->db->order_by('bookTitle', 'ASC'); |
Messages In This Thread |
Need help with basic search query related stuff... - by El Forum - 05-25-2012, 06:42 PM
Need help with basic search query related stuff... - by El Forum - 05-25-2012, 07:10 PM
Need help with basic search query related stuff... - by El Forum - 05-25-2012, 07:25 PM
Need help with basic search query related stuff... - by El Forum - 05-25-2012, 09:22 PM
Need help with basic search query related stuff... - by El Forum - 05-25-2012, 09:39 PM
Need help with basic search query related stuff... - by El Forum - 05-25-2012, 09:44 PM
Need help with basic search query related stuff... - by El Forum - 05-25-2012, 09:47 PM
|