Array problem in PHP. Please help.

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Array problem in PHP. Please help.
Groups: php.general 
Request: Send a blank email to php-general+get-57595@lists.php.net to get a copy of this message
Ok, here's the print_r() output of my 2 arrays. The first really just has an extra dimension. How can I get the format of the first one looking like the bottom one (just an array of key => value pairs)? Thanks! Array ( [0] => Array ( [trade_date] => Trade Date ) [1] => Array ( [settle_date] => Settlement Date ) [2] => Array ( [symbol] => Symbol ) [3] => Array ( [blank] => Blank Field ) [4] => Array ( [account] => Broker Account ) [5] => Array ( [symbol_desc] => Symbol Description ) [6] => Array ( [symbol_desc] => Symbol Description ) [7] => Array ( [first_money] => First Money ) ) Array ( [trade_date] => Trade Date [settle_date] => Settlement Date [symbol] => Symbol [account] => Broker Account [symbol_desc] => Symbol Description [first_money] => First Money [buy_sell] => Buy/Sell [comm] ) -- Michael Champagne, Software Engineer Capital Institutional Services, Inc. wk: mchampagne@capis.com hm: mchamp@texas.net ****************************************************************** This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction, unless specifically agreed otherwise. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect the views or opinions of Capital Institutional Services, Inc. Capital Institutional Services, Inc. accepts no liability for any errors or omissions arising as a result of transmission. Use of this communication by other than intended recipients is prohibited. ******************************************************************

« previous php.general (#57595) next »