I need an array with entries for different industries then inside that different professions then inside that headings for different attributes such as "knowledge", "skills", "abilities". Then entries under each heading. This page gives an example of one entry: Picker and Packer
Here is the code for the associative array I have so far. I am surprised I had to use four )'s just to stop getting error messages. Have I done this correctly? Is there a way I can make this code cleaner and easier to read? Thank you.
<?php
$indus['agriculture'] = array(
"Picking and Packing" => array("Tasks" => array("entry1", "entry2", "Entry3", "Entry4", "Entry5"), "Tools_used" => array("Entry1", "Entry2", "Entry3","Entry4", "Entry5"), "Knowledge" => array("Entry1", "Entry2"), "Skills" => array("Entry1","Entry2"), "Abilities" => array("Entry1", "Entry2", "Entry3","Entry4", "Entry5"),
"Farm Worker" => array("Tasks" => array("Entry1","Entry2","Entry3"), "Tools_used" => array("Entry1","Entry2","Entry3"), "Knowledge" => array("Entry1","Entry2"), "Skills" => array("Entry1","Entry2"), "Abilities" =>array("Entry1, Entry2"),
"Agricultural Equipment Operator" => array("Tasks" => array ("Entry1","Entry2"), "Tools_used" => array("Entry1","Entry2"),
"Knowledge" => array("Entry1.","Entry2"), "Skills" => array("Entry1","Entry2"), "Abilities" =>array("Entry1","Entry2")
)))
);?>