I am doing a search engine by URL, when they hit the search button, open a URL and what I put in the search engine complements the URL at the end, I have this
<form style="display: flex;width: 35%;margin: 0;padding: 0 1%;" action=http://www.terra-games.net/server_motd/pugs/player_stats.php?player_steamid=>
<input style="width: 70%;border: 1px solid orange;background: #151515;padding: 2%;color: white;outline: none;box-shadow: 0;" type="searh" id="steamid_perfil" placeholder="STEAM_0:0:12345678">
<button style="background: orange;border: none;padding: 0 4%;font-weight: bold;color: black;-webkit-border-top-right-radius: 100px;-webkit-border-bottom-right-radius: 100px;-moz-border-radius-topright: 100px;-moz-border-radius-bottomright: 100px;border-top-right-radius: 100px;border-bottom-right-radius: 100px;cursor: pointer;">
<span style="font-family: 'icomoon' !important;speak: never;font-style: normal;font-weight: normal;font-variant: normal;text-transform: none;line-height: 1;-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;"></span>
</button>
</form>
sorry for the mess, I was doing something in a hurry, in the action="" I have the URL already placed but what I want is that what I place in the search engine complements the URL at the end, that is, after the ?player_steamid=HERE add what I Place in the search engine, how could I make it work?
As I have told you in the comments, you should do something like this:
where we use
target="_blank"
to open a new page, we enclose the URL in quotes and we remove theplayer_steamid=
because we put it to the input asname
, we force the method toGET
and the button we make it of the typesubmit
so that it executes the form. I have removed all the styles because they do not paint too much to solve your problem and I have changed type="searh" by type="search" to make it well written.