> You need to have this
> 
> $EricCodesArray = array (
>                          "CO" => array("Description",
>                                        "Input Name",
>                                        "Select Name",
>                                        "Option Name",
>                                        "Option Selected"),
>                          "AN" => array("ERIC Number",
>                                        "EricAN",
>                                        "SelAN",
>                                        "AN",
>                                        "AN <Annotation>"),
>                          "TI" => array("Title",
>                                        "EricTI",
>                                        "SelTI",
>                                        "BT",
>                                        "BT <Book Title>")
>                          );
> 
> you must place the 5 elements in a sub array

and then use

echo $EricCodesArray['TI'][2];

to get "SelTI"

---John Holmes...



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

Reply via email to