I'm having a very odd problem with PHP/MySQL...
echos "id;id"
foreach($ids as $id) {
echo "id;";
}
echos "id;id;id;id;..." (infinite loop)
foreach($ids as $id) {
while($row = mysqli_fetch_array(mysqli_query($conn, "SELECT * FROM `Table` WHERE `id`=$id;") {
echo "id;";
}
}
The reason I have a foreach() statement is because I have $ids sorted.