Monday, February 5, 2018

html - set a $_GET value when option is selected



How would I set filter_branch=true and filter_branch_val=sony via $_GET when an option is selected?







So I have something like http://mypage.com/index.php?filter_branch=true&filter_branch_val=sony to be used for sql query filter.


Answer



If java script function will work for you . please try this code




HTML






Javscript







No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...