Re: Array

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

 



$arr = array('key' => array('key2' => 'value', 'key3' => 'value', ...),
...);

$arr['key2'] = array('key2' => 'value', ...);

$arr['key3]['key2'] = 'value';

On Thu, 26 Aug 2004 16:11:27 -0500, Miguel Guirao <mguirao@xxxxxxxxxxxx> wrote:
> Hi!!
> 
> I have a table with many options from when the user can select them,
> after that, his/her selections will be stored in a database.
> 
> In the mean time, I want to store his/her selections in an array like
> this one:
> 
>     PN                          Desc                            Qty
> |-----------------------|----------------------|-----------------------|
> |-----------------------|----------------------|-----------------------|
> |-----------------------|----------------------|-----------------------|
> 
> How do I declare Duch an array like this??, let's call it Parts.
> 
> Miguel Guirao
> Servicios Datacard
> www.SIASA.com.mx
> 
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> !DSPAM:412dfd2d29942082615647!
> 
> 


-- 
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder

paperCrane --Justin Patrin--

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux