Nested \"while\" loop runs only one time, only one div is displayed, can\'t find any mistakes, 0 errors in \"error_log
Looks like your outermost while is only fetching one record
while ($row = mysqli_fetch_array($sqlresult)) { . . . . }
Get rid of the outermost while if you only fetch one record...
$row = mysqli_fetch_array($sqlresult);// remove closing } too