Jquery Loop Over Array Javascript Length Function In Mysql What Is The Result