Home  |  Linux  | Mysql  | PHP  | XML
From:salmarayan Date:Thu Jul  2 16: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: Are MO5.7 working on Windows Mobile6.5
Re: variable scope
Module CAM::PDF
Storing a file from a cgi parameter
Re: [PHP-WIN] problem with PEAR , windows platform , php 5.2.9-2 , IIS Version 6


  
© No Copyright
You are free to use Anything
Site Maintained by Zareef Ahmed
Powered By PHP Consultants