Loop in php - NR IT INSTITUTE