Welcome Guest, Not a member yet? Register   Sign In
Database Error!!
#11

[eluser]Shaileen[/eluser]
ok...i got that point.. but how do i write this line in CI..

it is originally in perl..thats where im geting confused..

WHERE lower($searchField) LIKE lower('%$searchText%') $groupSearch AND


is it something like this??

$this->db->where("$searchField like", "%$searchText%");
$this->db->where($searchGroup, $groupSearch);

or a different solution!!??


Messages In This Thread
Database Error!! - by El Forum - 03-04-2010, 09:30 AM
Database Error!! - by El Forum - 03-04-2010, 09:45 AM
Database Error!! - by El Forum - 03-04-2010, 09:46 AM
Database Error!! - by El Forum - 03-04-2010, 09:47 AM
Database Error!! - by El Forum - 03-04-2010, 09:48 AM
Database Error!! - by El Forum - 03-04-2010, 09:52 AM
Database Error!! - by El Forum - 03-04-2010, 09:54 AM
Database Error!! - by El Forum - 03-04-2010, 11:15 AM
Database Error!! - by El Forum - 03-05-2010, 09:27 AM
Database Error!! - by El Forum - 03-05-2010, 10:28 AM
Database Error!! - by El Forum - 03-05-2010, 11:32 AM
Database Error!! - by El Forum - 03-05-2010, 11:52 AM
Database Error!! - by El Forum - 03-05-2010, 12:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB