(yeah, I'm new to PHP...)
I get the unexpected T_DOUBLE_ARROW on the line with index number 6, the first nested array. What am I doing wrong here?
Code: Select all
$type = array(0 => "No Input",
1 => "No Input",
2 => "No Input",
3 => "No Input",
4 => "No Input",
5 => "Y/N Select",
6 => "Select" => array(0 => "No Data", 1 => "Age Exempt", 2 => "1 MMR", 3 => "2 MMR", 4 => "Immune"),
7 => "Select" => array(0 => "No Data", 1 => "Vaccinated", 2 => "Responder", 3 => "Declined", 4 => "Opt Out"),
8 => "Select" => array(0 => "No Data", 1 => "Contraindication"),
9 => "Date",
10 => "Select" => array(0 => "No Data", 1 => "Immune by Disease", 2 => "Immune by Vaccine"),
11 => "Select" => array(0 => "No Data", 1 => "Annual Skin Test", 2 => "Reactor"),
12 => "Date",
13 => "Select" => array(0 => "No Data", 1 => "Given", 2 => "Contraindication", 3 => "Declined"),
14 => "Date",
);