By grtroup on
I'm so frustrated here, i'm writing a quiz for my drupal site in php, and i want to set the points scored in the quiz automatically when the quiz is done. i can access the variable easily by creating a copy of it, but i cant actually change it from the php page. what code could i use to set the user variable profile_quizpts for example.
Comments
My guess you don't fully
My guess you don't fully understand how to program Drupal. Provide more info, maybe some code. Maybe the issue here is that your question is too vague and poorly written.
Have you thought about using
Have you thought about using the quiz module?
http://drupal.org/project/quiz
Eric
__________
Eric Aitala - ema13@psu.edu
Penn State
224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485
not really, all i want to be
not really, all i want to be able to do is get the code to set a variable in the users' details. in psudo code
if user passes test
quiz points = quiz points + 3
simple as.
I wonder if the quiz module
I wonder if the quiz module works with the user points module...
E
__________
Eric Aitala - ema13@psu.edu
Penn State
224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485