Hi all , i have this Array : $country=array("USA","KSA","SYR","GER","EGY","JPA","CHA","PAK"); // I want the output of this array looks like this : USA KSA SYR GER EGY JPA CHA PAK i know it's can be done in Nested for loops , but i don't know how . thanks