RE: [PHP] Array - Newbie question

2003-03-08 Thread daniel
sorry yeh its not a numbered key as like the next posts $EricCodesArray[TI][2] >= Original Message From [EMAIL PROTECTED] = >echo $EricCodesArray[2][2]; > >No. > > >> would this work ? >> $EricCodesArray[2][2] ? >> > #http://www.php.net/manual/en/ref.array.php >> $EricCodesArray = array ( >

Re: [PHP] Array - Newbie question

2003-03-08 Thread Ernest E Vogelsinger
At 01:47 09.03.2003, John Taylor-Johnston said: [snip] >New at this, somewhat: > >#http://www.php.net/manual/en/ref.array.php >$EricCodesArray = array ( >"CO" => "Description", "Input Name", "Select Name", "Option Name", >"Option Selected", >"AN" =>

RE: [PHP] Array - Newbie question

2003-03-08 Thread John W. Holmes
> You need to have this > > $EricCodesArray = array ( > "CO" => array("Description", >"Input Name", >"Select Name", >"Option Name", >

Re: [PHP] Array - Newbie question

2003-03-08 Thread Jim Lucas
"BT", "BT «Book Title»") ); you must place the 5 elements in a sub array Jim - Original Message - From: "John Taylor-Johnston" <[EMAIL PROTECTED]>

[PHP] Array - Newbie question

2003-03-08 Thread John Taylor-Johnston
>>echo $EricCodesArray[2][2]; No. Sorry. Empty set. I would also like to express it something like: select EricCodesArray where TI displays [2] I want to pass TI into a function and build some html for that record. Pseudo code: echo (TI[0] ); $EricCodesArray = array ( "CO" => "Description", "

Re: [PHP] Array - Newbie question

2003-03-08 Thread John Taylor-Johnston
echo $EricCodesArray[2][2]; No. > would this work ? > $EricCodesArray[2][2] ? > #http://www.php.net/manual/en/ref.array.php > $EricCodesArray = array ( > "CO" => "Description", "Input Name", "Select Name", "Option Name", > "Option Selected", > "AN" => "ERIC Number", "EricAN", "SelAN", "

RE: [PHP] Array - Newbie question

2003-03-08 Thread daniel
would this work ? $EricCodesArray[2][2] ? >= Original Message From [EMAIL PROTECTED] = >New at this, somewhat: > >#http://www.php.net/manual/en/ref.array.php >$EricCodesArray = array ( >"CO" => "Description", "Input Name", "Select Name", "Option Name", "Option Selected", >"AN" => "

[PHP] Array - Newbie question

2003-03-08 Thread John Taylor-Johnston
New at this, somewhat: http://www.php.net/manual/en/ref.array.php $EricCodesArray = array ( "CO" => "Description", "Input Name", "Select Name", "Option Name", "Option Selected", "AN" => "ERIC Number", "EricAN", "SelAN", "AN", "AN «Annotation»", "TI" => "Title", "EricTI", "SelTI", "BT"