updated tracenow.php

Added foreach loop