I'm trying to set some variables and always end up getting no value at all for the keys. PHP throws undefined index warnings at the following lines in my code:
$question['answer'.($i+1)]['answer'] = $temp_array["answer".$random_clip];
$question['answer'.($i+1)]['answer_id'] = $answer_mappings[$i];
Is there some other syntax for this? I've searched all over this forum and am coming up with nothing. The strange thing is, when I run this in my PhpED debugger, all the values get set, but outside the debugger, the values are null.