SyntaxFix
Write A Post
Hire A Developer
Questions
As in the multi-dimensional array an entry is another array, specify the index of that value to array_push:
array_push($md_array['recipe_type'], $newdata);