Similar to Zhongguancun Online or Pacific automobile multi-attribute search, how is it done?-php Tutorial

Source: Internet
Author: User
Similar to Zhongguancun Online, or Pacific automobile multi-attribute search, how is the idea? This post was last posted by airukongqi4321 from 2013-11-0311: 44: Large & nbsp; zhongguan is similar to Zhongguancun Online or Pacific automobile multi-attribute search.

This post was last edited by airukongqi4321 at 11:44:21, January 3 ,.

Http://detail.zol.com.cn/notebook_index/subcate16_0_list_4000_s1227_1_1_0_1.html Zhongguancun Online
Http://price.pcauto.com.cn/price/q-p2-k75.html Pacific Automotive

When you click an attribute, some attributes without a product become unavailable,
I am wondering how to implement such a function and how to do it...
Sorry, I have not scored much ....

Multi-attribute search

Share:


------ Solution --------------------
Someone asked me this before.
Two solutions:
1. javascript is used to combine the selected variables into a url. in this solution, you must first select and click a button to open the webpage (operations are similar to submitting)
2. php writes a link based on each parameter. this solution refreshes the webpage every time you click a parameter. when you refresh the webpage, it recalculates all links based on multiple conditions that have been selected.

2. the deformation scheme is ajax.
------ Solution --------------------
View-source: http://detail.zol.com.cn/notebook_index/subcate16_0_list_4000_s1227_1_1_0_1.html
 
 
Brand



Unlimited


Lenovo
Asus
Dell
HP
Shenzhou
Acer
.....

Price


Unlimited

Less than 1999 RMB
2000-2499 RMB
2500-2999 RMB
Obviously, the connection is generated by the server.

View-source: http://price.pcauto.com.cn/price/q-p2-k75.html

Price:



Unlimited



50 thousand ---
......

Level:



Unlimited

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.