Page 1 of 1
what about the future for UQM?
Posted: Sun Oct 30, 2005 7:06 pm
by jpd
I would like to know If it could be possible one day to make quizzes with pictures? I mean that a small picture (for example, taken from smartor album) could be shown instead of a question?
I 'll get a lot of use of it : education testing for students of biology with pictures of microscopy
Posted: Sun Oct 30, 2005 7:55 pm
by jpd
I 've installed the last release of UQM (1.1.0) and I encounter thsi problem :
SQL Error : 1054 Unknown column 'quiz_category' in 'where clause'
Line : 47
File : functions_quiz.php
help me!
Posted: Mon Oct 31, 2005 7:52 am
by battye
Hi, bbCode will be standard, likely in 1.1.1. That includes pictures.
Regarding the error, did you run quiz_install.php?
Posted: Mon Oct 31, 2005 1:15 pm
by jpd
yes of course I did the install
Posted: Tue Nov 01, 2005 2:36 pm
by battye
Does your line 47 match this area:
Code: Select all
function category_quizzes($id)
{
global $db;
$sql = "SELECT * FROM " . QUIZ_GENERAL_TABLE . " WHERE quiz_category = '" . intval($id) . "'";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, '', 'Could not obtain quiz category data', __LINE__, __FILE__);
}
return $db->sql_numrows($result);
}