PHP Classes

File: test.sql

Recommend this page to a friend!
  Classes of Nuno Tiago   PHP MySQL Quiz class   test.sql   Download  
File: test.sql
Role: Auxiliary data
Content type: text/plain
Description: My SQL for test the code
Class: PHP MySQL Quiz class
Manage questions and user answers stored in MySQL
Author: By
Last change:
Date: 10 years ago
Size: 4,454 bytes
 

Contents

Class file image Download
-- phpMyAdmin SQL Dump -- version 3.4.10.1deb1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Oct 31, 2013 at 12:41 AM -- Server version: 5.5.32 -- PHP Version: 5.3.10-1ubuntu3.8 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `test` -- -- -------------------------------------------------------- -- -- Table structure for table `questions` -- CREATE TABLE IF NOT EXISTS `questions` ( `id` int(11) NOT NULL AUTO_INCREMENT, `question` text COLLATE utf8_unicode_ci NOT NULL, `first_p` text COLLATE utf8_unicode_ci NOT NULL, `second_p` text COLLATE utf8_unicode_ci NOT NULL, `third_p` text COLLATE utf8_unicode_ci NOT NULL, `fourth_p` text COLLATE utf8_unicode_ci NOT NULL, `difficulty` text COLLATE utf8_unicode_ci NOT NULL, `correct` text COLLATE utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=15 ; -- -- Dumping data for table `questions` -- INSERT INTO `questions` (`id`, `question`, `first_p`, `second_p`, `third_p`, `fourth_p`, `difficulty`, `correct`) VALUES (1, 'Quem é o fundador da Microsoft', 'Bill Gates', 'Steve Jobs', 'Larry Page', 'Jerry Yang', 'easy', 'Bill Gates'), (2, 'Albert Einstien foi um...', 'Químico', 'Astrologo ', 'Físico', 'Matemático', 'easy', 'Físico'), (3, 'Quem inventou a corrente alternada(AC)?', 'Thomas Edison', 'Benjamin Franklin', 'James Watt', 'Nikola Tesla', 'midlle', 'Nikola Tesla'), (4, 'Qual destes jogos pertece a empresa Rockstar Games', 'The Getway', 'Red Redemption', 'Need For Speed', 'Football Manager', 'midlle', 'Red Redemption'), (5, 'Qual é o número em base decimal que corresponde ao binário: 0110?', '4', '7', '6', '5', 'hard', '6'), (6, 'Todos nós já ouvimos a expressão Vale do silício, quias destas empresas não fazem parte?', 'Google', 'Apple', 'Tesla Motors', 'Foxconn', 'easy', 'Foxconn'), (7, 'Domain Name System (DNS), faz parte de que camada no protocolo TCP/IP', 'Aplicação', 'Rede', 'Física', 'Transporte', 'hard', 'Aplicação'), (8, 'O endereço IP, na versão 4 do IP (IPv4), é um número de...', '8bits', '16bits', '64bits', '32bits', 'hard', '32bits'), (9, 'Iphone pertence a marca...', 'Samsung', 'Apple', 'Nokia', 'Sony', 'easy', 'Apple'), (10, 'Quem inventou o sistema operativo Linux?', 'Bill Gates', 'Linus Torvalds', 'Steve Jobs', 'Richard Stallman', 'easy', 'Linus Torvalds'), (11, 'Uma polegada, em centímetros são...', '2,54cm', '3,24cm', '3,20cm', '2,20cm', 'easy', '2,54cm'), (12, 'Marconi inventou o(a)...', 'Calculadora', 'Transistor', 'Rádio', 'Máquina Fotográfica', 'easy', 'Rádio'), (13, 'Sheldon Cooper é um personagem e faz parte da série...', 'Doctor Who', 'Chuck', 'Veronica Mars', 'The Big Bang Theory', 'midlle', 'The Big Bang Theory'), (14, 'A mecânica quântica foi desenvolvida inicialmente por...', 'Max Planck', 'Niels Bohr', 'Albert Einstien', 'Paul Dirac', 'midlle', 'Max Planck'); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE IF NOT EXISTS `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` text NOT NULL, `email` text NOT NULL, `points` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=18 ; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `name`, `email`, `points`) VALUES (1, 'ntmg_22@hotmail.com', 'nuno', 0), (2, 'root@g.com', 'nuno', 0), (3, 'ntmg_22@hotmail.com', 'nuno', 0), (4, 'ntmg_22@hotmail.com', 'nuno', 0), (5, 'ntmg_22@hotmail.com', 'nuno', 0), (6, 'ntmg_22@hotmail.com', 'nuno', 0), (7, 'celina.amg@gmail.com', 'nuno', 0), (8, 'num@gmail.com', 'nuno', 0), (9, 'ntmg_22@hotmail.com', 'nuno', 0), (10, 'root@g.com', 'nuno', 0), (11, 'celina.amg@gmail.com', 'nuno', 0), (12, 'n@gmail.com', 'nuno', 0), (13, 'root@g.com', 'nuno', 0), (14, 'root@g.com', 'nuno', 0), (15, 'root@g.com', 'nuno', 0), (16, 'ntmg_22@hotmail.com', 'nuno', 0), (17, 'actualizate.comze@gmail.com', 'nuno', 0); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;