I don't think I follow... I have done like jayant suggests
$ini_array = parse_ini_file("sample.ini", TRUE);
$random = "sample".mt_rand(1, count($ini_array));
echo $ini_array["$random"][sample];
this is ok, but how do I store $ini_array into a session array ? is it just
session_register($ini_array)
? I tried and it does not work...
Then I have to be able to rest every time from the session array the index I get from
$random = "sample".mt_rand(1, count($ini_array));
isn't it ?. How do I do this ?
Thanks, m.