The data in the 12-row library in the library is calculated by row and corresponds to the following menu. For example, when you select drop-down menu 1, click the submit button (from to AM. The left eye hop shows a pleasant surprise. someone invited you to dinner, and so on. Thank you for using PHP + JS .. I only need code. Thank you ------ solution --------- PHP + txt programs or PHP + JS programs. I want to create a small program (as long as the program). thank you.
The 12 databases in the drop-down menu are the data in the 12 rows in the 1.txt library and correspond to the following menus one by one.
For example, when you select drop-down menu 1, click the submit button (from to AM.
The left eye hop shows an unexpected event.
Someone invited you to dinner
And so on. Thank you.
You can also use PHP + JS .. I only need code. Thank you.
------ Solution --------------------
Directly use php to complete this action.
Txt. php
$ Eyes = array (
Array (1 left, 1 right ),
Array (2 left, 2 right ),
Array (3 left, 3 right ),
);
Show. php
Select name = eyes
When option value = 0
Option value = 1 ugly
Action. php
Import txt. php
Output $ eyes [post (get) eyes. value] [0] as left eye information
Output $ eyes [post (get) eyes. value] [1] as right eye information