//go through each question
foreach($file_data as $value) {
//separate the string by pipes and place in variables
list($category, $question) = explode(\'|\', $v
This will push the array onto the end of your current array. Or if you are just trying to add single values to the end of your array, not more arrays then you can use this: