Welcome Guest, Not a member yet? Register   Sign In
[question - solved] Join - active record
#2

[eluser]Michael Wales[/eluser]
It's doing what it should - it's returning the result object that you requested.

Now you need to do something with that result object, like:

Code:
if ($query->num_rows() > 0) {
  $row = $query->row();
  echo $row->username;
}

User Guide: Generating Query Results


Messages In This Thread
[question - solved] Join - active record - by El Forum - 08-07-2007, 03:16 PM
[question - solved] Join - active record - by El Forum - 08-07-2007, 04:07 PM
[question - solved] Join - active record - by El Forum - 08-07-2007, 04:16 PM
[question - solved] Join - active record - by El Forum - 08-07-2007, 04:36 PM
[question - solved] Join - active record - by El Forum - 08-07-2007, 06:23 PM
[question - solved] Join - active record - by El Forum - 08-08-2007, 12:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB