Welcome Guest, Not a member yet? Register   Sign In
using Active Records and NOT using Active records
#1

[eluser]Ajaxian64[/eluser]
Hello,
In my code I use active records for 'simple' sql request.
But now I just try a simple request without active records and it doesn't work.

First question :

why when I used $query ="SELECT * FROM img"; there is no result whereas $query = $this->db->get('img'); works fine !!!!!
could you tell me why ?

Second question :
is it possible to mixt in the same model some requests which are using active records and some others no (direct query as $quesry = 'SELECT ....')

thanks
#2

[eluser]Ajaxian64[/eluser]
I was drunk, sorry. It works with both methods.
I'm going to sleep

Sorry




Theme © iAndrew 2016 - Forum software by © MyBB