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 (
>
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" =>
> You need to have this
>
> $EricCodesArray = array (
> "CO" => array("Description",
>"Input Name",
>"Select Name",
>"Option Name",
>
"BT",
"BT «Book Title»")
);
you must place the 5 elements in a sub array
Jim
- Original Message -
From: "John Taylor-Johnston" <[EMAIL PROTECTED]>
>>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", "
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", "
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" => "
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"
8 matches
Mail list logo