[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phptest-users] Bug fixed

From: Ivailo Bardarov
Subject: [Phptest-users] Bug fixed
Date: Wed, 25 Feb 2004 12:13:33 +0200

To make the questions work again i found the following sollution
open question.php
Find the line:
    $prev_question_id = $test_session->questions[$question_number - 1];

add this after that line
    $_SESSION[test_session] = $test_session;
do the same thing and for the "next" statment
    $next_question_id = $test_session->questions[$question_number + 1];
    $_SESSION[test_session] = $test_session;
I have no Idea why the directly accessing the $test_session variable (it is registered in the current session) doesn't change the $_SESSION :(

Ivailo Bardarov - SEO
User Interface Development Team Inc.
Phone: +359 2 9834416


reply via email to

[Prev in Thread] Current Thread [Next in Thread]