View Full Version : HELP - I'm lost. I need help finishing this.

02-28-2008, 07:45 PM
actually i just need help building a form similar to the ones found here:



i've got the html down for the codes but i can't seem to get them to work the website i'm building. i think i did it similar - i just can't seem to get it to search - i don't know how to attach it into the website i'm doing. any help would be GREATLY appreciated as i'm just trying to help out a friend

02-28-2008, 09:06 PM
A form wonít do anything without a server side script that is processing the data you put into the form fields. If you look at the source code of the first link you posted youíll see this:

<form method=get action="search.cgi">

The search.cgi is a file on the server that has no other purpose than processing the data you put into the form and give an appropriate output after submitting the form. You canít look into the source code of these kinds of files, though, since they are processed on the server, not in the browser (unlike HTML, CSS, and JavaScript).

02-28-2008, 09:18 PM
so how would i create one myself - i don't even know where to begin then

02-28-2008, 09:51 PM
Well you already posted this in the work offers forum but its going to require some type of server side language such as php, or asp. It depends on the current site. Also the database type would need to be known. This isn't something you are going to be able to knock out in an hour. It might take a few days if not longer. I guess the question is you don't happen to know PHP do you?

02-28-2008, 10:12 PM
nope. i know that basics - that's it.

02-28-2008, 11:21 PM
I'd suggest checking with your hosting company - they may some useful scripts pre-installed that you can use.