Home  |  Linux  | Mysql  | PHP  | XML
From:salmarayan Date:Thu Jul  2 20:56:08 2009
Subject:Implode a 2D Array

Can any one tell me how can i implode a two D Array.
i can implode normal arrays, but when i try to implode multidimensional
Arrays, the result is empty.
can some one tell me how to implode an array Like This


$x=array ( [0] => array ( [side] => sell [stock_code] => AFMC.CA [quantity]
=> 200 ) ,
[1] => array ( [side] => buy [stock_code] => AFMC.CA [quantity] => 200 );

i want to implode it in a way, the later one i can seperate rows, meaning i
can seperate [0] from [1] and the elements in each row, like the side stock
code using the SPLIT function.
Thanks in Advance. :)
--
View this message in context: http://www.nabble.com/Implode-a-2D-Array-tp24313886p24313886.html
Sent from the PHP - General mailing list archive at Nabble.com.

Navigate in group php.general at sever news.php.net
Previous Next


Your recent visits
Re: [PHP] generally, where in cPanel can one set the default page to load?
Re: [PHP] php selecting multiple stylesheets
Re: RE: [PHP] removing an array from a compound array
Re: [PHP] Re: PHP 5.3.0 Released!
Re: [PHP] exasperated again



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants