Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-16-2006, 05:40 PM
WebProWorld Member
 

Join Date: Jan 2005
Location: Australia!
Posts: 58
webgurl RepRank 0
Default PHP help needed with existing script - adding more fields

I found a brilliant script to calculate prices, sales tax, shipping.

http://www.dyn-web.com/scripts/orderform/

I am obviously not a coder but I did try to add more fields without success! I have the form working and is received via email but it is lacking in the main parts - customer details!

I would like to add in name and address for now. Once I get help and told how and where I should be adding this, then I will be able to expand the form further.

My form is here:

http://hostdnsau.com/test/order2.php

I have the name and address fields in place. Please test the form for me.

I would also like to know how to send a copy to the sender. On my other php forms, I do this:
$to = "me@myemail.com, $email";

Thnaks for reading and any help given!
Reply With Quote
  #2 (permalink)  
Old 03-22-2006, 10:10 PM
WebProWorld New Member
 

Join Date: Mar 2006
Location: San Diego, CA
Posts: 2
nerdDesignGroup RepRank 0
Default

Hi webgurl,

you may have the results pages coded in a different version of PHP. try:

$mailto = "me@myemail.com, $email";

or

$mailhead = "CC: $email\n";

for sending a confirmation.
and

$mailbody = "$name2
$address
$email";

for the parts of the message.
__________________
San Diego Web Design & Marketing
www.nerdDesignGroup.com
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , , , , , ,



Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0