Php While And Foreach Two Arrays With Database Stack

Php While And Foreach Two Arrays With Database Stack