I'm PHP Noob, but I need this hardly..

Cool,So I want to make a search form but wait! I want the search value when we press search we get this link http://gta-samp.us/signature.php?name=“Value which I typed to search”&style=1

I mean for example If I typed in the search : [TMS]HBK This link opens : http://gta-samp.us/signature.php?name=[TMS]HBK&style=1

Can someone code this for me ? it’ll be a great favor :slight_smile:

I need it :’(

just create a form with a text field with the name: name

it should work automagically.

for style=1 you can either:

a) set form action=“yourfile.php?style=1”
b) set a hidden input field called name with value 1

Thanks for replying,

But I understood nothing, Brother I know nothing in PHP but I knew that form tutorials I’ve to use PHP to make this thing, I just understand in HTML…

Anyway I want this search bar brother, the value I enter makes out this link Cool,So I want to make a search form but wait! I want the search value when we press search we get this link http://gta-samp.us/signature.php?name=“Value I entered in search”&style=1

So that ?name=“Value I entered in search”&style=1 is already a part of the link which will open…

Can you code this for me bro, It only takes you some minutes, you are expert PHP teacher.

You shouldn’t do it in PHP, just write a normal HTML form.

Cool, I copied this from another tutorial :

Search Box Example 2 - default placeholder text gets cleared on click #tfheader{ background-color:#c3dfef; } #tfnewsearch{ float:right; padding:20px; } .tftextinput2{ margin: 0; padding: 5px 15px; font-family: Arial, Helvetica, sans-serif; font-size:14px; color:#666; border:1px solid #0076a3; border-right:0px; border-top-left-radius: 5px 5px; border-bottom-left-radius: 5px 5px; } .tfbutton2 { margin: 0; padding: 5px 7px; font-family: Arial, Helvetica, sans-serif; font-size:14px; font-weight:bold; outline: none; cursor: pointer; text-align: center; text-decoration: none; color: #ffffff; border: solid 1px #0076a3; border-right:0px; background: #0095cd; background: -webkit-gradient(linear, left top, left bottom, from(#00adee), to(#0078a5)); background: -moz-linear-gradient(top, #00adee, #0078a5); border-top-right-radius: 5px 5px; border-bottom-right-radius: 5px 5px; } .tfbutton2:hover { text-decoration: none; background: #007ead; background: -webkit-gradient(linear, left top, left bottom, from(#0095cc), to(#00678e)); background: -moz-linear-gradient(top, #0095cc, #00678e); } /* Fixes submit button height problem in Firefox */ .tfbutton2::-moz-focus-inner { border: 0; } .tfclear{ clear:both; }

What should I do now so that the value I type in search = http://gta-samp.us/signature.php?name=“Value I entered in search”&style=1 Opens ?

Oh wait this Form is easier :

What to do ? to make what I told you

so what I should change ?

If you want someone to do all the work for you then the thread is better suited in the freelancers section.

Sponsor our Newsletter | Privacy Policy | Terms of Service