You are fetching twice, try commenting out the first one
//$stmt2->fetch();
if($stmt2->num_rows > 0) {
while ($stmt2 ->fetch()) {
...
The way you have it now will move the cursor one more time. But you have only one record, that's why you don't see anyting.