I tried looking for this, but couldn't quite find the solution I was looking for.
The code below works:
$tpuserdata = mysql_query("SELECT name, tone_profile.uid, aall FROM users INNER JOIN tone_profile ON users.uid = tone_profile.uid")
or die(mysql_error());
while($tpuserinfo = mysql_fetch_array( $tpuserdata ))
{
$tpans = $tpuserinfo['aall'];
echo $tpuserinfo['name'];
echo " " . $tpuserinfo['uid'];
echo " " . $tpans;
echo "<br>";
}
However, the value of 'aall' or $tpans is an array. I have tried several different ways to implode the array, but everything I've tried either throws an error or simply returns "Array". Any help would be greatly appreciated!