Welcome Guest, Not a member yet? Register   Sign In
consulting variable
#7

(This post was last modified: 04-06-2015, 03:35 PM by pompeu.)

Cronix,

I had not got it right the concept of using the queries in CI but is now resolved. I like that and it worked :

Code:
$query = $this-> db-> query ("select email, country , password from users where email = '$email' and password = '$password' " ) ;
foreach ( $query->result() as $row )
{
$country = $row->country;
}

Thanks very much

Problem resolved ^^
Reply


Messages In This Thread
consulting variable - by pompeu - 04-06-2015, 01:30 PM
RE: consulting variable - by CroNiX - 04-06-2015, 02:06 PM
RE: consulting variable - by pompeu - 04-06-2015, 02:31 PM
RE: consulting variable - by CroNiX - 04-06-2015, 02:57 PM
RE: consulting variable - by pompeu - 04-06-2015, 03:08 PM
RE: consulting variable - by CroNiX - 04-06-2015, 03:30 PM
RE: consulting variable - by pompeu - 04-06-2015, 03:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB