|
From: | Luis Lebron |
Subject: | RE: [Phptest-users] Test taking bug |
Date: | Fri, 24 Jan 2003 12:52:59 -0600 |
Thanks for the info.
Luis
-----Original Message-----
From: Brandon Tallent [mailto:address@hidden]
Sent: Friday, January 24, 2003 11:11 AM
To: general phptest discussion
Subject: Re: [Phptest-users] Test taking bug
Comment out the print_r statement in question.php.
The shaded correct answer is only shown to admins, not
regular users.
Brandon
--- Luis Lebron <address@hidden> wrote:
> I have just installed phptest 6.3 on my server
> (RedHat 7.3, PHP 4.1.2). When
> I try to take a test I get the following information
> on the screen
> stdClass Object
> (
> [questions] => Array
> (
> [0] => 194
> [1] => 191
> [2] => 192
> [3] => 187
> [4] => 190
> [5] => 185
> [6] => 189
> [7] => 184
> [8] => 188
> [9] => 186
> )
>
> [answers] => Array
> (
> [0] => Leave Blank
> [1] => Leave Blank
> [2] => Leave Blank
> [3] => Leave Blank
> [4] => Leave Blank
> [5] => Leave Blank
> [6] => Leave Blank
> [7] => Leave Blank
> [8] => Leave Blank
> [9] => Leave Blank
> )
>
> [info] => Array
> (
> [0] => 40
> [test_id] => 40
> [1] => 48
> [subject_id] => 48
> [2] => 0
> [anonymous] => 0
> [3] => 1
> [type] => 1
> [4] => Basic PHP Knowledge
> [description] => Basic PHP Knowledge
> [5] => Sample Test
> [notes] => Sample Test
> [6] => 7
> [num_required] => 7
> [7] => 3
> [num_random] => 3
> [8] => 2003-01-24 10:00:00
> [start_date] => 2003-01-24 10:00:00
> [9] => 2003-02-24 10:00:00
> [end_date] => 2003-02-24 10:00:00
> [10] => 27
> [group_id] => 27
> [num_questions] => 10
> )
>
> [test_id] => 40
> )
>
> It also highlights the correct answer to the
> question. How can I fix this?
>
> thanks,
>
> Luis R. Lebron
> Project Manager
> Sigmatech, Inc
> > _______________________________________________
> Phptest-users mailing list
> address@hidden
>
http://mail.nongnu.org/mailman/listinfo/phptest-users
>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
Phptest-users mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/phptest-users
[Prev in Thread] | Current Thread | [Next in Thread] |