Monday, 5 February 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

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...