Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9204633
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:45:24+00:00 2026-06-17T23:45:24+00:00

<form action=> <input placeholder=SEARCH name=search_input type=text/> <input type=submit name=search_submit/> </form> If people search by

  • 0
<form action="">
    <input placeholder="SEARCH" name="search_input" type="text"/>
    <input type="submit" name="search_submit"/>
</form>

If people search by “Keyword Item” I want URL will be http://mydomain.com/search?keywords=Keyword%20Item

How can I do it? I know needs configure in form action, get etc.

Thanks in advance.

Update

When I am trying with this code

<form action="http://search.golfoutletsusa.com/search?" method="get">
    <input placeholder="SEARCH" name="Keywords" type="text"/>
    <input type="submit" name="search_submit"/>
</form>

The URL is: http://search.golfoutletsusa.com/search?Keywords=85&search_submit=Submit+Query

I just want “&search_submit=Submit+Query” will be removed from URL.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T23:45:25+00:00Added an answer on June 17, 2026 at 11:45 pm

    Solution:1

    You can add the following code at the top of your search.php (or, whatever the processor file):

    <?php
        if(isset($_GET["search_submit"]))
        {
            $keywords = $_GET["Keywords"];
            header("Location: search.php?Keywords=$keywords");
        }
    ?>
    

    OR

    Solution:2

    You can omit the name of submit button if it is not really necessary to give it a name. So instead of

    <input type="submit" name="search_submit"/>
    

    just use

    <input type="submit" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this form: <form action=/search method=get class=search> <input type=text name=q value=$get.q.htmlentities(); placeholder=Search... />
my view: <form action=<?=base_url()?>index.php/frontend/main_con/temp> <input type=text name=temp> <input type=submit/> </form> Controller: function temp(){ echo
<form action = settings.php method = post> Student ID*: <input type = text name
HTML <form id=contact_form action=# name= method=POST> <label for=name>NAME</label> <input type=text name=name id=name class=contact_form_input />
<form action=test2.html method=POST autocomplete=on id=myForm > <table> <tr> <td> Name: </td> <td> <input type=text
form html: <form action='/register/' method = 'post'>{% csrf_token %} ... <label>Avatar: </label><input type='file' name='avatar'
I have an HTML form: <form action='process.php' method='post'> <input type='checkbox' name='check_box_1' /> Check me!<br>
Is it possible to do this? <form action=/process_form method=get> <input type=hidden name=some_value value=top_secret />'
This is my search code <div id=search> <form method=get action=http://www.other-website.com/search> <input type=hidden name=f value=>
I do have a search form. <form method=get id=searchform action=<?php bloginfo('siteurl');?>> <div class=search_bx1><input type=text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.