Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 01-25-2009, 02:38 AM Form Submission
Skilled Talker

Posts: 90
Trades: 0
I am trying to figure out if it would be feasible to add an order form to a website that a customer could fill out and when submitted would be emailed to the store owner.

How hard is this and could I learn to do it in a few weeks?

Thanks,
Shadrach
Shadrach is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-25-2009, 03:55 AM Re: Form Submission
NullPointer's Avatar
Will Code for Food

Posts: 2,784
Name: Matt
Location: Irvine, CA
Trades: 0
Its nothing to complicated. If you are using PHP it involves retrieving the information from POST, formatting your message, and sending it using the PHP mail function. If you have any coding experience it shouldn't take more than a day, and if you are familiar with PHP it shouldn't take more than an hour.

Google PHP mail and I'm sure you'll find plenty of examples.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by NullPointer; 01-25-2009 at 04:00 AM..
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 01-27-2009, 07:54 PM Re: Form Submission
Skilled Talker

Posts: 68
Name: Avi Zolty
Location: Atlanta
Trades: 0
<form action="send.php" method="POST">
<input type="text" name="var1">
<input type="submit" value="submit">
</form>

then in the page entitled "send.php" you would put the following:

<?PHP
$var1 = $_POST['var1'];
mail("to@youremail.com", "subject", "message");
?>
__________________
"If you say something interesting, people will remember your name" ~ Anonymous


Please login or register to view this content. Registration is FREE
.asp <- Irony
Zoltar1992 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Form Submission
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11875 seconds with 12 queries