[eluser]TWP Marketing[/eluser]
[quote author="london77" date="1347575602"]how can i get this return value as a variable?
Code:
return( $query->row()
[/quote]
In your controller:
$record = $this->Your_model->Your_method(); // call the db query method in your model
$record->somevar;
$record->someothervar;
What you do with the data is up to you.
Your question is too generic to give you an answer. If you are using the MVC prardyme, then you have a controller and a model with some view to display your data. READ the User Guide...