abberration Posted July 5, 2019 Share Posted July 5, 2019 (edited) Hello, all I know this isn't actually a PHP questions, but I thought you guys might be able to help. I am creating a software for a forum and would like to create a link to search for a tag word that can link to a search that can find the software. The website uses this for search: https://www.website.com/search.php?do=process I figured out this works to put the keyword in the tag box: https://www.website.com/search.php?tag=mysearchword I can't figure out how to combine the two to process the search. I tried things like this: https://www.website.com/search.php?do=process&tag=mysearchword But that and other variations did not work. Does anyone have any suggestions? Thanks! Edited July 5, 2019 by abberration added more info Quote Link to comment Share on other sites More sharing options...
ginerjm Posted July 5, 2019 Share Posted July 5, 2019 I"m guessing that you want the url to provide two arguments for you. They would be referred to as $_GET['do'] and $_GET['tag'] which would yield "process" and "mysearchword" to your "search.php" script. Quote Link to comment Share on other sites More sharing options...
abberration Posted July 5, 2019 Author Share Posted July 5, 2019 1 minute ago, ginerjm said: I"m guessing that you want the url to provide two arguments for you. They would be referred to as $_GET['do'] and $_GET['tag'] which would yield "process" and "mysearchword" to your "search.php" script. Hi, Thanks for your reply, but the website is not mine. I'm just trying to create a link for my software's about box to have a hyperlink that will bring up the default browser and execute a search for tags relating to my software. It would include terms such as file renamer, cinemaessentials, renaming tools, etc. I edited my first post to state this isn't actually a PHP question. Quote Link to comment Share on other sites More sharing options...
ginerjm Posted July 5, 2019 Share Posted July 5, 2019 Then I have no f.... idea what you want from us. Quote Link to comment Share on other sites More sharing options...
abberration Posted July 5, 2019 Author Share Posted July 5, 2019 solved. the fix: https://www.website.com/search.php?tag=mysearchword&do=process sorry for the trouble. have a great day! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.