|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
<form help :)
Hello Folks,
I am trying to set up a simple form ... basically all I need is a name and email address... which is NOT hard... My problem is I need the form to do 2 things... Email me and open a new browser window when the info is sent... <form method="post" action="mailto:someone@my.com" > <form method="post" action="http://www.realestateozarks.com" target="_blank"> Using either of the above work but how do I combine them? Name:<input type="text" name="Name" size="12 maxlength="12" /> <br> Email Address:<input type="text" name="Email" size="24" maxlength="24" /> <input type="submit" value="Send Email" /> </form> thanks once again for any help in advance whonoes |
|
#2
|
|||
|
|||
|
First of all, you use the "mailto:" function, which is really outdated and anoying to wor with as a visitor. IF you decide to work with a php form, try this link.
http://www.phpf1.com/tutorial/php-form.html this tutorial explains you how to build a good form , while doing that, you learn the php form structure pretty good so you can apply it for the future projects you will undertake. If you have dreamweaver, it's easy to apply a form validator using the "spry form validation" implemented into dreamweaver cs3 and cs4 if you do want this to stay HTML then you might try Code:
<form method="post" action="mailto:someone@my.com" target="_blank"> <input type="hidden" name="redirect" value="http://yourhost.com"> </form> this will take you one directory higher, then the directory your form page is in Last edited by fangore : October 7th, 2009 at 12:24 PM. |
|
#3
|
|||
|
|||
|
Help With C# And Mysql
HELLO GUYS, AM WRITING A C# PROGRAM TO ACCESS A MYSQL DATABASE. WHEN READING THE FROM THE TABLES IN THE DATABASE, I WANT TO CHANGE THE COLUMN NAME TO MAKE THE NAME NICE AS THE COLUMN NAMES ARE QUITE MESSY. AM USING MYSQL 5.1.36 SERVER. I USED THE FOLLOWING CODE BUT HAD A SYNTAX ERROR. BELOW IS THE CODE FOR SELECTING A TABLE NAMED DONATIONS WITH COLUMN NAMES BOLDENED
SELECT Donation ID as ID, Sname as Surname, Fname as Firstname, Oname as Othernames, Dodonation as Donation_Date, Amount as Amount, Descdonation as Description FROM Donations PLEASE HELP ME WITH THE RIGHT SYNTAX |
|
#4
|
|||
|
|||
|
Quote:
Caps is still cruise control for cool i see... Make your own topic please this belongs in the sql or C # section ![]() Last edited by fangore : October 7th, 2009 at 04:06 PM. |
|
#5
|
|||
|
|||
|
Quote:
Thank you. I 'll try because I have the same question about to combine 2 actions |
|
#6
|
|||
|
|||
|
this is what I ended up using...
http://formtoemail.com/formtoemail_free_version.php?PHPSESSID=5cc9612387667840160d84c3cb5fd654 the free version ![]() very nice program |
|
#7
|
|||
|
|||
|
Thank you whonoes. It helps me to understand and now it's working
![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > <form help :) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|