Welcome Guest, Not a member yet? Register   Sign In
How to use LIKE query in CodeIgnitor when select data from database?
#2

[eluser]Dam1an[/eluser]
I'm assuming you're refering to using ActiveRecord? You can start by reading the User Guide Tongue

Code:
$this->db->like('title', 'match');
// Produces: WHERE title LIKE '%match%'

Thats all there is to it


Messages In This Thread
How to use LIKE query in CodeIgnitor when select data from database? - by El Forum - 06-26-2009, 03:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB