CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
So simple, but I am soooo stupid (and tired)

 



siceman105
Deleted

Aug 15, 2000, 2:46 PM

Post #1 of 1 (533 views)
So simple, but I am soooo stupid (and tired) Can't Post

Can someone please explain this one to me.
I have a search engine, and a form that submits to it.

Now when i first got the form the submit button had the value=getresults
this worked fine, when you clicked the button it searched. However...when you hit return it didnt, it instead displayed the default form.

After tracking this down i managed to find the following statement in the script:


#Logics
if ($FORM{'getresults'}) {&getresults;}
else {&searchhtml;}


so I figured that this was the prob, my perl isnt great, so I changed the value of the submit button to SUBMIT, and then when round changing all the getresults in the script to SUBMIT. But the problem still persists!

Can anyone please please help me

You can see it (or whats left of it after I have tinkered with it) at
http://www.gwquest-hiv.com/secure/search/metasearch.cgi

Ive been up for almost 20 hrs, so please please help!

Thank in advance.....

Sice.

ZZZzzzzzzzzzzzzzzzz

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives