Re: Array

From: Date: Thu, 26 Aug 2004 22:24:34 +0000
Subject: Re: Array
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-35905@lists.php.net to get a copy of this message
$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@acrosoft.net> 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--

« previous php.db (#35905) next »