Hi,
while ($row2 = @mysql_fetch_array($out2))
{
while ($row3 = @mysql_fetch_array($out3))
{
echo "".$row2["user_id"]." : ".$row3["user_id"]."";
echo "<br>";
}
}
du verwechselst vermutlich mysql_fetch_array mit mysql_fetch_row - mysql_fetch_array gibt, wie der Name sagt, einmalig ein Array mit dem kompletten Inhalt zurück. Ersetze es durch mysql_fetch_row oder rufe es einmalig vor der Schleife auf und ersetze das while durch ein foreach.
Schöne Grüße
Julian
--
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook
http://derjulian.net
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook
http://derjulian.net