Log in

View Full Version : Searching with lack of terminology



Wild32
01-20-2008, 06:10 AM
Hi everyone!

I am one who builds websites the easy way .. with a wysiwyg program .. gotta love it! And I also use sites like this one .. thank you DynamicDrive!!

My quest is for a simple script that will allow users to input one line of information and it will be then listed below.

Sorta like this .. cause I don't think that is clear ...

[__________] (<--- blank entry box) [submit] (<---button)

(and then you would see this on the same page)

Mickey
Donald
Goofy
Daisy
Minnie .. etc.. etc ..

I am sure there is a proper term for this .. but I am at a loss tonight as to what it would be .. thus my lack of success in finding my answer!

All help is greatly appreciated!!

Thanks in advance!
Wild32 :confused:

BLiZZaRD
01-20-2008, 03:00 PM
the input... text only? uploading? viewing directory? What exactly do we hope to accomplish?

jscheuer1
01-20-2008, 05:09 PM
You can get a search box, if that's what you want, from Google and many others, like Free Find, etc.

Wild32
01-20-2008, 06:25 PM
the input... text only? uploading? viewing directory? What exactly do we hope to accomplish?

Sorry for the lack of info!

Yes, text only .. just one text input box .. no uploading by users .. and yes, I want the user to be able to see the list of names that have been entered. It saves me having to do it manually!

I hope this is enough info

BLiZZaRD
01-21-2008, 04:45 AM
Well, a few ways, and I am SWAMPED with projects right now or I would thank more clear.

Use php. You can write to a .txt file, then include the .txt file something like:



<body>
<form action"<?=$PHP_SELF?>" method="post">
<input type="text" length="50" name="added">
<input type="submit" name="submit" value="Submit">
</form>

<?php include 'fileofnames.txt'; ?>


Then you just need your php code to tell the form to write to that .txt file and it will include it after.