Mysql Php 2nd While Loop Within A While Loop Only Run Once Stack

Mysql Php 2nd While Loop Within A While Loop Only Run Once Stack