2010-03-06, 02:21:06
We're all about simple. Here is ver. 2
See if that works.
Code:
$question_array = array('What is 4 + 8?'=>'12','What is the capitol of Texas?'=>'Austin','What is 5 - 1?'=>'4');
$qindex = array_rand($question_array);
$sc_captcha_question = $quindex; // The question to display for the captcha
$sc_captcha = $question_array[$qindex];
See if that works.