i have a file questions.php with an array as follows :
$question12 = array("Which is the tallest mountain","Mt Everest");
i am using this file in another file as follows :
require_once('questions.php');
$var = 12;
$question = '$question'.$var.'[0]';
echo $question;
The above code just outputs the string
$question12[0]
But i want the variable $question to have the string present in $question12[0].
How to do it..??