• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a problem with get_where

#3
[eluser]webthink[/eluser]
all active record methods should be calling _reset_select on their own so this shouldn't be something you ever run in to.

Do me a favour.

a)right before query look at the last query executed.
echo $this->db->last_query();
$query = $this->db->get_where(’mem_sys_views’, array(’mode’ => $mode, ‘action’ => $action));

If you see `form_id` = ‘bfcebbbd76ff508773d7a974e308bae5’ anywhere in that query then something is wrong with active record and will need some debugging.

If it's not in your last query then somewhere you've set a $this->db->where('form_id',$val); without ever executing the query and that is most likely your problem.


Messages In This Thread
a problem with get_where - by El Forum - 03-26-2008, 03:33 AM
a problem with get_where - by El Forum - 03-26-2008, 03:42 AM
a problem with get_where - by El Forum - 03-26-2008, 03:42 AM
a problem with get_where - by El Forum - 03-26-2008, 04:39 AM
a problem with get_where - by El Forum - 04-02-2008, 01:15 PM
a problem with get_where - by El Forum - 04-02-2008, 03:51 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.