If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Aug 2013
    Member #

    Code for Search with parameters

    Hello! I am new to HTML and CSS. I am currently making a website just for learning. Can anyone help me how to make a search option with parameters like in this image?

    search with parameters.png

    I doesn't need to be as pretty as this, you can omit "advanced search".

    I'd like to learn the code for it and how to connect it into the content of my website.
    I will be using wordpress for it in the future. Thanks!

    Please feel free to ask me for clarification of my question!


  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Not from USA
    Member #
    2784 times
    That's not an HTML/CSS question, my friend. That's a server-side programming question. HTML/CSS only displays the fields. You'll need server side programming to create the search itself.

    You've got some choices that way, although whatever you choose will take some learning. I'd say if you're going to use W*rdPr*ss (and I wouldn't recommend it), you'll want to learn PHP and MySQL to do the search (PHP is the programming language and MySQL is the database). How exactly you go about it and what further help we can give you from there depends on what the box is for and how much you can pick up on your own.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    South Carolina Coast
    Member #
    770 times
    Technically, TheGame is Correct...

    The picture you posted is a "form"... and they are pretty basic, they can be built using HTML and the styling can be accomplished with CSS.

    Now that being said, that's about all you will get is a pretty form with some selectors and fields you can type in.

    If you actually want the form to work when you hit the submit button... then that's where the server side programming comes in.

    Sure you could use a static file for the DB and PHP to search through it, but that becomes a real pain to maintain.

    A DB is your best option for storing that kind of data and being able to search through it and display the results.

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Tags for this Thread

All times are GMT -6. The time now is 10:37 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: