Quiz From Old Wapdesire

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Quiz From Old Wapdesire

    heres my quiz script from my old wapdesire

    Code:
    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

    Code:
    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',
    Attached Files

    #2
    thanks, but it keeps say everytime i access it

    You are not logged in
    Or Your session has been expired




    Comment


      #3
      did u put the link best on main page think its

      Code:
      <a href=\"./quiz.php?action=quiz&amp;sid=$sid\">Quiz</a>

      Comment


        #4
        this is mine...

        Code:
        $id = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_quiz"));
          echo "<a href=\"../quiz.php?action=quiz&amp;sid=$sid\">Quiz</a>
        ";




        Comment


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

          Comment


            #6
            wapdesire lol




            Comment


              #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

              Comment


                #8
                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




                Comment


                  #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[/b]
                  whats ur site addy

                  Comment


                    #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[/b]
                    pmpl told ya it works

                    Comment


                      #11
                      now i should add it too WML




                      Comment


                        #12
                        now i should add it too WML [/b]
                        add me to msn killa looony_guy79@hotmail.com

                        Comment


                          #13
                          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




                          Comment


                            #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[/b]
                            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

                            Comment


                              #15
                              lol i added script but now i cant play it
                              [attachment=1451:wapzone_Quiz.htm]
                              Attached Files

                              PHP Code:
                              foreach ($_SERVER as $server => $value)
                              {
                              echo "$server is $value<br />";
                              } 
                              

                              Comment

                              Working...
                              X