Hello,
I am not sure if you can help me or if this is the place but...
I am running linux and php5.3.6
I am having problems that I did not experience on my Windows box and it has to do with arrays
if ($answer['correct']) {
(which contains 1 or 0) is throwing Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING
removing the quotes works but just curious why it is not working and if there is a setting i can change
Also
$answers[] = $answer[id];
is throwing Parse error: syntax error, unexpected ']', expecting T_STRING or T_VARIABLE or T_NUM_STRING
Thank you to anyone who might be able to help.