HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 7th, 2009, 10:32 AM
whonoes whonoes is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2009
Location: Lake of the Ozarks
Posts: 25 whonoes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 13 m 25 sec
Reputation Power: 0
<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

Reply With Quote
  #2  
Old October 7th, 2009, 12:21 PM
fangore fangore is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2007
Posts: 155 fangore User rank is Corporal (100 - 500 Reputation Level)fangore User rank is Corporal (100 - 500 Reputation Level)fangore User rank is Corporal (100 - 500 Reputation Level)fangore User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 9 h 17 sec
Reputation Power: 7
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
__________________
Like my post? Rep me

Een webstek vanaf een halve euro !

Last edited by fangore : October 7th, 2009 at 12:24 PM.

Reply With Quote
  #3  
Old October 7th, 2009, 01:50 PM
SAINTJAB SAINTJAB is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2009
Posts: 2 SAINTJAB User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 52 m 23 sec
Reputation Power: 0
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
Comments on this post
fangore disagrees: Wrong section, wrong post (not yours) and fully caps... cool!

Reply With Quote
  #4  
Old October 7th, 2009, 04:02 PM
fangore fangore is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2007
Posts: 155 fangore User rank is Corporal (100 - 500 Reputation Level)fangore User rank is Corporal (100 - 500 Reputation Level)fangore User rank is Corporal (100 - 500 Reputation Level)fangore User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 9 h 17 sec
Reputation Power: 7
Quote:
Originally Posted by SAINTJAB
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


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.

Reply With Quote
  #5  
Old October 13th, 2009, 05:12 PM
organzae organzae is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2009
Location: Houston
Posts: 2 organzae User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 32 m 49 sec
Reputation Power: 0
Quote:
Originally Posted by fangore
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


Thank you.
I 'll try because I have the same question about to combine 2 actions

Reply With Quote
  #6  
Old October 13th, 2009, 06:47 PM
whonoes whonoes is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2009
Location: Lake of the Ozarks
Posts: 25 whonoes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 13 m 25 sec
Reputation Power: 0
this is what I ended up using...

http://formtoemail.com/formtoemail_free_version.php?PHPSESSID=5cc9612387667840160d84c3cb5fd654

the free version

very nice program

Reply With Quote
  #7  
Old October 27th, 2009, 10:13 PM
organzae organzae is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2009
Location: Houston
Posts: 2 organzae User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 32 m 49 sec
Reputation Power: 0
Thank you whonoes. It helps me to understand and now it's working

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > <form help :)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek