Generate quiz paper Save related issues

Source: Internet
Author: User
Generate Quiz Save Questions
Select the question number from the database, and then make a layout to generate a quiz paper
Next is the question of saving the quiz paper?
Do you have any good suggestions?
Generate Word to save all the contents of the quiz paper?
Or the question number to save, when you want to extract the test paper to extract the question number?

------Solution--------------------
Explore

P_ID Paper Number
P_name paper Name
P_time time
T_ID Teacher Number
What do you mean by that? How do you distinguish different papers from the established tables?
You are the same as my question bank ·
What I want is to draw some questions from the question bank to create a new paper table,

------Solution--------------------
Right. The varchar type is OK. This takes: SELECT * from the question bank table where ID in (' All-in-all '); Remove the three-way question.
------Solution--------------------
PHP Code
Just put it together: 1: $a = 1; $b = 2; $c = 3; $code = $a. ",". $b. ",". "; 2: $c = Array (n/a); $a = implode (", ", $code); $a =" SELECT * FROM Table where code in (". $code."); "
------Solution--------------------
Explore

The question number is separated by commas, is that also a string type? How do you extract it when it's extracted?

------Solution--------------------
Save the problem number with, good connection can be saved. The extraction of course has to be looped out.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.