PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old December 14th, 2003, 11:58 PM
equinox007 equinox007 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Australia
Posts: 1 equinox007 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to equinox007
Cool PHP and Javascript mail issue

Hi guys,

got quite a issue here and i would appreciate some expert opinions.

The deal goes:

I have a basic COD shopping cart developed in Javascript.

On the checkout page, the user enters via a html form, their contact details and postal details, a javascript script is also embedded on this page, showing the user what they have ordered by reading the info from an array on anther frame (sloppy i know, but it is just to be a quicky)

The mail action points to a PHP page, using the mail function in PHP i have got the customer details and postal details posting, but i do not know how to post the java script results (the current cart contents) as the info is dynamic and will be different for each order,,,

Help...

I have dug myself a hole, and there is no way to go atm but down.

Chris

Reply With Quote
  #2  
Old December 15th, 2003, 02:02 PM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,246 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
Chris,

Can you not just look through the array and store the contents in a string. The string would then be sent in the email as the shopping cart contents.

What does your cart array look like?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > PHP and Javascript mail issue


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


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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway