First paste the instance website: the number of people here is changed, and the price details below will also change. The number of cars in the list will be combined based on the number of people, and the minimum price option will be selected. Related conditions: 1: Number of days, there are 3, 2, 3, the price of each car corresponding to the number of different seats is different...
First paste the instance website: URL
The number of people here is changed, and the price details below will also change. the number of seats in the list is combined based on the number of people and the minimum price option is selected.
Related conditions: 1: Number of days, there are 3, 2, 3, the price of each car corresponding to the number of different seats is different.
Days indicates the number of days, price indicates the current price, and seats indicates the number of seats.
Now, when the number of days is 1, 2, and 3, vehicle matching is performed based on the number of people entered. the number of people ranges from 20.
The data in the image here is taken out of the database. it is a two-dimensional array. you can also refer to the order transmission json in the network of the instance website. this array is a two-dimensional array, php is sorted and displayed. amount in the array indicates the number of vehicles of this type under the current number of people. as a basis for page display, minamount should be auxiliary data.
This is the problem. if you have any questions, I will add them online ~~~~
Reply content:
First paste the instance website: URL
The number of people here is changed, and the price details below will also change. the number of seats in the list is combined based on the number of people and the minimum price option is selected.
Related conditions: 1: Number of days, there are 3, 2, 3, the price of each car corresponding to the number of different seats is different.
Days indicates the number of days, price indicates the current price, and seats indicates the number of seats.
Now, when the number of days is 1, 2, and 3, vehicle matching is performed based on the number of people entered. the number of people ranges from 20.
The data in the image here is taken out of the database. it is a two-dimensional array. you can also refer to the order transmission json in the network of the instance website. this array is a two-dimensional array, php is sorted and displayed. amount in the array indicates the number of vehicles of this type under the current number of people. as a basis for page display, minamount should be auxiliary data.
This is the problem. if you have any questions, I will add them online ~~~~