PDA

View Full Version : Help coding a form?


jdavy
11-23-2010, 03:21 AM
Hi there,

Wondering if anyone might help - I'm adding a form to a website and I cannot get it to work. New version of the software and everything has been made 'easier' so I haven't got a clue what to do.

Form is at www.athenssnowmobile.ca/volunteer3.htm

The form itself seems to work ok, but upon hitting submit it goes to:
http://www.athenssnowmobile.ca/www.athenssnowmobile.ca/sendresults.php

and says:
Not Found

The requested URL /www.athenssnowmobile.ca/sendresults.php was not found on this server.

It appears to be putting the url twice for some reason, but I can't figure out where to change/fix it.

Help would be incredibly appreciated!!

Jo

edbr
11-23-2010, 03:59 AM
http://www.athenssnowmobile.ca/volunteer3.htm not found 404

edbr
11-23-2010, 04:02 AM
found it http://www.athenssnowmobile.ca/volunteers3.html. and it submits then presumably redirects to your home page

edbr
11-23-2010, 04:08 AM
i would use either

action="http://www.athenssnowmobile.ca/sendresults.php"
or
action="sendresults.php"

jdavy
11-23-2010, 04:14 AM
It was missing the "http://" like you suggested. Funny it wasn't in the tutorial I got it from.

Thank you, thank you, thank you! :)

edbr
11-23-2010, 04:28 AM
youtube by any chance?

jdavy
11-23-2010, 02:13 PM
Never thought to look there.
It was actually part of the 'help desk' in Dreamweaver called Dreamweaver Club.

I searched for PHP, and chose the one that is titled 'Using Dreamweaver and PHP to send form results in an e-mail'.

Maybe TMI...but perhaps you have a way of fixing it, so now you know!
Thanks again. :)