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.