This is a discussion on "form help" within the Web Page Design section. This forum, and the thread "form help are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
form help
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
form help
hey there, got a problem with a form, it aall works, but in the email i receive from feedback, the form details are in a line one after the other, any chance i can make line by line in the email, i.e.
First name john: Last Name: smith feedback: need help etc cheers skyfire |
|
|
|
|||
|
Re: form help
Oh sorry Craig, I just saw the post when I submitted exactly the same answer
|
|
|||
|
Re: form help
i am using html and css, ive pasted the code below:
Last edited by herkalees; Mar 5th, 2006 at 20:05. |
|
|||
|
Re: form help
Quote:
|
|
||||
|
Re: form help
OK, you need to make one change to your html page,
Get rid of this
Copy and paste the code below, I have changed the script so it uses the fieldnames you use already, however the things i have put in capitals you need to change. Save this as feedback.php and simply upload it to your server as you would your new html file.
Craig |
|
|||
|
Re: form help
Okay, I was just being lazy, that will work, great!
|
|
||||
|
Re: form help
Can we see the site?
|
|
|||
|
Re: form help
so when i make these changes, a file will be emailed to me with the feedback details in it yeah?
but the thing is at the , form method"post" action: part is that there is just an email adres in there, dont know why this page displayed, private.php etc Last edited by skyfire400; Mar 2nd, 2006 at 21:19. |
|
|||
|
Re: form help
I don't understand that, then why was it in the code? Do you use Dreamweaver or some other editor like DW? Where was it displayed? In the code section?
Anyway, that's not so important, the script provided by craig should work, so why work with the old one? Can we see the site when it's ready, please? |
|
|||
|
Re: form help
in the part craig said the change, the part in capitals, which url for where the form is? and do i put that stuff he said to add in to a sperate file called feedback.php? thats waht im thinkin anyway,
the site is still in deep works, but if you go to www.heavenlybaskets.co.uk/contact.htm just go to view source, and see if that is of any help to u Last edited by skyfire400; Mar 2nd, 2006 at 21:35. |
|
|||
|
Re: form help
this is the full code for the page:
Last edited by herkalees; Mar 5th, 2006 at 20:05. |
|
|||
|
Re: form help
where it says:
<form method="post" action="private.php?do=newpm&u=3275"> there is an email address where its says "private.php |
|
||||
|
Re: form help
I dont understand why you have not used the code I gave you. It works fine, and means your email isnt in viewable code which means you wont get loads of spam. The mailto function in a html page is a bad choice for security reasons.
The URL your form is at is : http://www.heavenlybaskets.co.uk/contact.htm so this should replace the words in CAPS. The form does work. CRaig |
|
||||
|
Re: form help
I edited your posts. Please use code tags, they are like this, minus the spaces:
[ CODE ] all your content [/ CODE ] |
|
|||
|
Re: form help
the form didnt work craig, dont know why, but the webstie isnt writtn with PHP, sorry for the problems.
|
|
||||
|
Re: form help
you can easily change this in a htaccess file.
If you havn't a htaccess file, create a file in Notepad called htaccess.txt and copy and paste the code. Upload it and then in your FTP change the filename from "htaccess.txt" to just "htaccess" without the .txt Then your htm pages will parse like PHP pages and the form script will work!! Craig |
|
|||
|
Re: form help
Thanks for the code craig very useful wasnt able to use the mail() function because my linux server requires a subject header to send out mail.
|
|
|||
|
Re: form help
lol :P
Then why wont you write a header?
|
![]() |
| Tags |
| form, help |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hiding / Showing form fields based on previous form input | John Alexander Hopper | PHP Forum | 1 | Mar 10th, 2008 11:30 |
| form variable within an iframe component of a form | kissfreaque | PHP Forum | 3 | Feb 29th, 2008 13:06 |
| form variable within an iframe component of a form | kissfreaque | JavaScript Forum | 5 | Feb 29th, 2008 11:57 |
| [SOLVED] PHP contact form redirect to same form | Posie | PHP Forum | 14 | Jan 29th, 2008 20:28 |
| ASP form to check weather a form value is already in the database | Andrew1986 | Classic ASP | 3 | Oct 25th, 2007 08:23 |