RE: Question About Array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



$country=array("USA ","KSA ","SYR ","<br>","GER ","EGY ","JPA ","<br>","CHA ","PAK ");
echo implode($country,'');

________________________________
From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] On Behalf Of saeedos
Sent: 08 December 2009 14:57
To: php-objects@xxxxxxxxxxxxxxx
Subject:  Question About Array



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



[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux