I have a little problem with the key of an array. The array looks like this:
Array
(
[1] => Array
(
["question"] => test question 1
["open_response"] => 1
)
[2] => Array
(
["question"] => test question 2
["yes_no"] => 1
)
)
But for some reason whenever I try to access $data['1']['question'] it tells me that question is not an index. I'm a little confused about this since it should be a key but is not, how can I fix this? or how can i access it?
$data['1']['question']? can you show the full code?!