I retrieve data from two database table for combobox.
<form>
<select>
<?PHP $query=mysql_query("select option.*,user.* from user,option where user.data='$id' and option.userid != user.id");
while($row= mysql_fetch_assoc($query)){ ?>
<option value=<?PHP echo $row["id"];?>><?php echo $row["name"];?></option>
<?PHP } ?>
</select></form>
Now this is retrieves :
[
imgplace.com...]
Show two result for each id ! what's my problem ?