![]() |
My code:
PHP Code: $this->db->simpleQuery('Use D'.$id); This returns a model object, but I need the number of the ID. if I use PHP Code: $this->db->insert_id(); I get an error which says that insert_id() is an undefined method. Code: +----------+--------------+------+-----+---------------------+----------------+
~ Dave
It's suddenly started working for me too.
I have no idea what I was doing wrong, but it was obviously something stupid. Thanks for your response, and sorry to have wasted everybody's time (including my own!).
~ Dave
|
Welcome Guest, Not a member yet? Register Sign In |