Quiz From Old Wapdesire

Started on the old forum in December 2007 · view the original in the archive · old links redirect here

25 replies · 2,529 views · started 18 years ago · 5 min read

TL;DR · summary of 25 replies
  • -the quiz script still shows error messages when accessed, despite edits to database rows and code.
  • -alexism reported that after editing SQL, they are still receiving an "Error!!! You cannot reload this page to gain more points DO NOT CHEAT!" message even though they answered the questions correctly.
  • -The issue with questions not appearing is unresolved.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

6 participants
ori Lead · 512 posts #1

heres my quiz script from my old wapdesire

CREATE TABLE `ibwf_quiz` (
  `id` int(11) NOT NULL auto_increment,
  `question` varchar(200) NOT NULL default '',
  `answer` varchar(30) NOT NULL default '',
  `difficulty` varchar(12) NOT NULL default '',
  `number` int(11) NOT NULL default '0',
  `answer1` varchar(50) NOT NULL default '',
  `answer2` varchar(50) NOT NULL default '',
  `answer3` varchar(50) NOT NULL default '',
  `answer4` varchar(50) NOT NULL default '',
  `switch` char(3) NOT NULL default 'on',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=31;

--
-- Dumping data for table `ibwf_quiz`
--

INSERT INTO `ibwf_quiz` VALUES(1, 'what in new zealand is a kumera?', 'sweet potato', 'easy', 1, 'pineapple', 'apple', 'sweet potato', 'potato', 'on');
INSERT INTO `ibwf_quiz` VALUES(2, 'what ia a hornbeam?', 'tree', 'easy', 2, 'bird', 'fish', 'creature', 'tree', 'on');
INSERT INTO `ibwf_quiz` VALUES(3, 'what is a bellarmine a type of ?', 'jug', 'easy', 3, 'cup', 'tin', 'jug', 'plate', 'on');
INSERT INTO `ibwf_quiz` VALUES(4, 'what type of creature is a galah?', 'cockatoo', 'easy', 4, 'dog', 'kangaroo', 'cockatoo', 'fish', 'on');
INSERT INTO `ibwf_quiz` VALUES(5, 'what is fraina?', 'flour', 'easy', 5, 'meal', 'pasta', 'sause', 'flour', 'on');
INSERT INTO `ibwf_quiz` VALUES(6, 'what is chiminage?', 'a toll', 'easy', 6, 'a tree', 'a river', 'a bat', 'a toll', 'on');
INSERT INTO `ibwf_quiz` VALUES(7, 'what animal is affed bye the disease braxy', 'sheep', 'easy', 7, 'bird', 'goat', 'dog', 'sheep', 'on');
INSERT INTO `ibwf_quiz` VALUES(8, 'what item of clothing is also know as a filibeg?', 'kilt', 'easy', 8, 'top', 'kilt', 'dress', 'pants', 'on');
INSERT INTO `ibwf_quiz` VALUES(9, 'what do you do with a zloty in poland', 'spend it', 'easy', 9, 'keep it', 'save it', 'fine it', 'spend it', 'on');
INSERT INTO `ibwf_quiz` VALUES(10, 'what dose the phrase mae clupa mean ?', 'my fault', 'easy', 10, 'iam guilty', 'not me', 'my fault', 'my doing', 'on');
INSERT INTO `ibwf_quiz` VALUES(11, 'what sort creature is a scup?', 'a fish', 'med', 1, 'a bird', 'a cat', 'a dog', 'a fish', 'on');
INSERT INTO `ibwf_quiz` VALUES(12, 'what O is the name given to a pice of music opening a concert?', 'overture', 'med', 2, 'overkill', 'overbeat', 'overtune', 'overture', 'on');
INSERT INTO `ibwf_quiz` VALUES(13, 'what is the name of a small group of whales or seals?', 'a pod', 'med', 3, 'a school of fish', 'a group of whales', 'a group of seals', 'a pod', 'on');
INSERT INTO `ibwf_quiz` VALUES(14, 'what in ireland is a loy?', 'a spade', 'med', 4, 'a pick', 'a spoon', 'a meal', 'a spade', 'on');
INSERT INTO `ibwf_quiz` VALUES(15, 'who ranted about the way iam in a dark hit in 2000?', 'eminem', 'med', 5, 'fitty cents', 'nelly', 'eminem', 'snoop doggie', 'on');
INSERT INTO `ibwf_quiz` VALUES(16, 'who had hits with alcoholic four to the floor and silence is easy', 'starsailor', 'med', 6, 'fiffty cents', 'starsailor', 'justin timberlake', 'nelly furtardo', 'on');
INSERT INTO `ibwf_quiz` VALUES(17, 'can you name the pudlicity shy lead singer of the arctic monkeys?', 'alex turner', 'med', 7, 'justin timberlake', 'amy winehouse', 'damien rice', 'alex turner', 'on');
INSERT INTO `ibwf_quiz` VALUES(18, 'who released fit but you know it from the album a grand dont come for free?', 'the streets', 'med', 8, 'pearl jam', 'the streets', 'ozzy', 'starsailor', 'on');
INSERT INTO `ibwf_quiz` VALUES(19, 'what is the name of the largest artery in the human body?', 'aorta', 'med', 9, 'vaines', 'red blood cells', 'white blood cells', 'aorta', 'on');
INSERT INTO `ibwf_quiz` VALUES(20, 'in which year did the explosion at chernbyl nuclear reactor occur?', '1986', 'med', 10, '1956', '1966', '1976', '1986', 'on');
INSERT INTO `ibwf_quiz` VALUES(21, 'what was the name of the russian submarine which was flooded and stranded on the sea bed in august?', 'the kursk', 'hard', 1, 'the russian', 'the nuclear', 'the kursk', 'the sub', 'on');
INSERT INTO `ibwf_quiz` VALUES(22, 'who or what was piper alpha?', 'a north sea oil rig', 'hard', 2, 'a sailing ship', 'a jetski', 'a oil ship', 'a north sea oil rig', 'on');
INSERT INTO `ibwf_quiz` VALUES(23, 'in which year were 8 members of the manchester united football team killed in a air disaster?', '1958', 'hard', 3, '1955', '1960', '1976', '1958', 'on');
INSERT INTO `ibwf_quiz` VALUES(24, 'in which year was the great fire of london?', '1666', 'hard', 4, '1709', '1810', '1666', '1909', 'on');
INSERT INTO `ibwf_quiz` VALUES(25, 'what particular gimmick was used in the 1958 film house of wax?', 'it was made in 3d', 'hard', 5, 'it was never made', 'it was the house', 'it was made in 3d', 'it was the wax', 'on');
INSERT INTO `ibwf_quiz` VALUES(26, 'what name was given to the light winds which blow across the equatot?', 'doldrums', 'hard', 6, 'doldrums', 'lightrums', 'brightrums', 'dolrums', 'on');
INSERT INTO `ibwf_quiz` VALUES(27, 'what is the alternatvie name of the tree konwen as the mountain ash?', 'rowan', 'hard', 7, 'ashly', 'ashflod', 'rowan', 'ashsnow', 'on');
INSERT INTO `ibwf_quiz` VALUES(28, 'what is the name of the secince of the study of time', 'chonology', 'hard', 8, 'timespace', 'chonology', 'worldtime', 'time', 'on');
INSERT INTO `ibwf_quiz` VALUES(29, 'in which year was the lockerbie disaster which destroyed pan am flight 103?', '1988', 'hard', 9, '1974', '1964', '1988', '1990', 'on');
INSERT INTO `ibwf_quiz` VALUES(30, 'what type of disaster struck the central america in 1998?', 'hurricane mitch', 'hard', 10, 'hurricane paul', 'hurricane nina', 'hurricane mitch', 'hurricane sue', 'on');

i included the import to stop errors from there being nothing

add this to db also

CREATE TABLE `ibwf_quizusers` (
  `uid` int(100) NOT NULL default '0',
  `easy_question` char(2) NOT NULL default '0',
  `easy_next` char(2) NOT NULL default '0',
  `med_question` char(2) NOT NULL default '0',
  `med_next` char(2) NOT NULL default '0',
  `hard_question` char(2) NOT NULL default '0',
  `hard_next` char(2) NOT NULL default '0',
  PRIMARY KEY  (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

now add these rows to ibwf_users table

edited-> quiz_score varchar(20) NOT NULL default '0/0/0', quiz_easy char(3) NOT NULL default 'no', quiz_medium char(3) NOT NULL default 'no', quiz_hard char(3) NOT NULL default 'no', total_score varchar(10) NOT NULL default '0',

Attachments: quiz.php
ori Lead · 512 posts #3

did u put the link best on main page think its

<a href=\"./quiz.php?action=quiz&sid=$sid\">Quiz</a>
ori Lead · 512 posts #5

what script u using cos i no it works lol have look at mysticangelswap.com they hav it

ori Lead · 512 posts #7

well that site address is same script as i had on wapdesire so i no it should work lol put the quiz file in the web folder

Guest #9

ok i got it to work theres just another prob now lmao, my Images, css, everything is gone....... EDIT: Dont worry just had to clean cache lol thanks

whats ur site addy

ori Lead · 512 posts #10

ok i got it to work theres just another prob now lmao, my Images, css, everything is gone....... EDIT: Dont worry just had to clean cache lol thanks

pmpl told ya it works

ori Lead · 512 posts #14

in this one can ya cheat lol, i remember awhile back i did ur quiz u just press back and u can get more points lmao

lol only place u can reload is when u get a question wrong but y would u wana do that lol reload when u get a question rite theres a nice lil msg pmpl

djdevil89 Senior · 287 posts #15

lol i added script but now i cant play it

foreach ($_SERVER as $server => $value)
{
echo "$server is $value<br />";
}
Attachments: wapzone_Quiz.htm
Guest #16

lol i added script but now i cant play it

thats what lm getting aswell

alexism Developer · 136 posts #17

eveything is ok but the question doesnt appear..why?

alexism Developer · 136 posts #18

ok my past problem have solve..now i want quiz coding in wml version...somebody help me...plz..........

SiLeNce Developer · 138 posts #19

fixed easy to WML ..

remove all xHTML coding and places to WML coding ..

eg ..

<form>

fixed to

<anchor>

try to solve the problem ..

alexism Developer · 136 posts #20

i hv try but that didnt work..many function fail to work..

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close