Jump to content

Quick question on creating link for PHP search


abberration

Recommended Posts

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 by abberration
added more info
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.