PHP + txt programs or PHP + JS programs. I want to create a small program (as long as the program). thank you.
Source: Internet
Author: User
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
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.