2009-01-21, 03:16 PM
In a plugin I made, I use a table with each row having 3 columns: uid, tid, and thirdcolumn (say).
Now if I do:
Now that would definitely have multiple rows in my case. So how do I extract the list of uid's from $record and find out the corresponding usernames for those uids?
Now if I do:
$query=$db->query("SELECT * FROM ".TABLE_PREFIX."plugintable WHERE tid='$tid'");
$record = $db->fetch_array($query);
Now that would definitely have multiple rows in my case. So how do I extract the list of uid's from $record and find out the corresponding usernames for those uids?