Include the name variable if the value is not empty inside the foreach. I tried this method code below but it include outside the array. I want to include within the array.<