Welcome Guest, Not a member yet? Register   Sign In
Using a variable in an object's function call
#1

[eluser]carom[/eluser]
I'd like to use a variable within an object's function call, like this:

Code:
$this->$tablename_model->updateRecord($where, $values);

Using CodeIgniter 2.

#2

[eluser]carom[/eluser]
Sorry for the post. This code works just fine.




Theme © iAndrew 2016 - Forum software by © MyBB