Help in making database table for poll system because i am bigner in database?
-
my database table is CREATE TABLE pollquestions (ID INT NOT NULL AUTO_INCREMENT PRIMARY KEY, Question CHAR(255)); CREATE TABLE pollanswers (ID INT NOT NULL AUTO_INCREMENT PRIMARY KEY, Question INT, Answer CHAR(255), Votes INT DEFAULT 0); my question is how can i insert following data in table in web server INSERT INTO pollquestions (Question) VALUES ('Favourite film?'); INSERT INTO pollanswers (Question, Answer) VALUES (1, 'Casablanca'); INSERT INTO pollanswers (Question, Answer) VALUES (1, 'Aliens'); INSERT INTO pollanswers (Question, Answer) VALUES (1, 'Indiana Jones'); INSERT INTO pollanswers (Question, Answer) VALUES (1, 'Pride & Prejudice'); INSERT INTO pollanswers (Question, Answer) VALUES (1, 'The Matrix'); INSERT INTO pollanswers (Question, Answer) VALUES (1, 'Kill Bill');
-
Answer:
you will have to write a browser screen to do this, using PHP or similar scripting language. This will paint the screen as a form, accept input fields and insert into the database when the submit button is clicked.
JAMSHAID at Yahoo! Answers Visit the source
Related Q & A:
- How good of a sound system could i get for $1000?Best solution by Yahoo! Answers
- What kind of sound system should I get for my car?Best solution by audiosystems.com
- Help with Making a Pie Crust?Best solution by dish.allrecipes.com
- What audio system should I get for my car?Best solution by cnet.com
- I need help with making a video for Youtube?Best solution by wikihow.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.