Javascript While Loop Syntax Php Database Hostname In Cisco