Welcome Guest, Not a member yet? Register   Sign In
MySQL JOIN
#8

[eluser]IamPrototype[/eluser]
If I need to display data from users and userprofiles it works like a normal query, right?

Code:
// Mysql JOIN Query
// ...
foreach($query as $row)
{
echo $row->uid . '<br />; // from users
echo $row->website; // from userprofiles
}


Messages In This Thread
MySQL JOIN - by El Forum - 05-19-2009, 10:07 AM
MySQL JOIN - by El Forum - 05-19-2009, 10:49 AM
MySQL JOIN - by El Forum - 05-19-2009, 11:15 AM
MySQL JOIN - by El Forum - 05-19-2009, 12:04 PM
MySQL JOIN - by El Forum - 05-19-2009, 12:33 PM
MySQL JOIN - by El Forum - 05-19-2009, 12:45 PM
MySQL JOIN - by El Forum - 05-19-2009, 12:52 PM
MySQL JOIN - by El Forum - 05-20-2009, 02:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB