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:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old January 5th, 2004, 06:03 PM
Matt@Array Matt@Array is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 6 Matt@Array User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
PHP Newb /w Problem

Im trying to develop a form. I want it to take user information, then display it on a second page (for the user to double check) then go off and send it to my email.

The problem I am having is that all my user inputted data is lost when I try to make the form E-Mail me. I recieve the e-mail but it is completely empty

Thanks for any help in advanced!

Reply With Quote
  #2  
Old January 5th, 2004, 06:31 PM
Mike_r Mike_r is offline
ExoCrew
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 68 Mike_r User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Can you post the code you are using, maybe as a attached zip file..
__________________
ExoHelpDesk
ExoCrew Free Services

Reply With Quote
  #3  
Old January 5th, 2004, 10:50 PM
Matt@Array Matt@Array is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 6 Matt@Array User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I posted phps for a friend,

http://arrayi.net/hosting_order.phps
http://arrayi.net/hosting_order2.phps

Just to clarify, the message is not completely empty
everything shows but the varibales.

its like the information (variables) is not being passed on

Reply With Quote
  #4  
Old January 6th, 2004, 07:27 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
When you print out the form after initial submittal, you need to print all submitted values as hidden fields. You're submitting them to the initial form and printing them as text to the screen, but they're no longer in memory when you submit the second form (unless I'm misreading your code). Alternatively, you could send the message as a hidden field to make life easier (though you'd have to watch for quotes in the string).

Reply With Quote
  #5  
Old January 6th, 2004, 09:41 AM
Matt@Array Matt@Array is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 6 Matt@Array User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Okay, so I want to do

Code:
<?
$fullnamesub  = $POST_['fullnamesub'];
$message= "Full Name: $fullnamesub \n\n etc, etc,";
(etc, etc, etc)
?>

<html> (etc, etc, etc)
<form action="hosting_order2.php" method="post">
<input type="hidden" name="fullnamesub" value="<?echo $fullnamesub ?>">
<input type="submit" name="submitcheck" value="Submit">
<etc, etc, etc,)
</html>


Like that? Thats what I think you were getting at.

Thanks, I cant try it right now but I will when I get home

Reply With Quote
  #6  
Old January 6th, 2004, 10:30 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
Yep, something along those lines.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > PHP Newb /w Problem


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 1 hosted by Hostway