SunQuest
           Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

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 Codewalkers Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old August 11th, 2003, 04:40 PM
prestick prestick is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: barnsley, yorkshire
Posts: 5 prestick User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Form & php problem

this is the code to submit the form, but it doesn't work? do i have to add something to the form?

<?
print"<html><head><title>Contact Us - TJW Racing</title></head>";
print"<body><p>The information you entered is displayed below. If there are any problems please don't hesistate to contact us.</p>";
print"<hr><p>Name: $textfield2<br>E-Mail: $textfield3<br>TelNo: $textfield4<br>FAX: $textfield5<br>Comments: $textfield";
print"<br><br><p>Please <a href=http://www.tjwracing.com>Click Here</a> to return to the TJW Racing website.</p>";
print "</body></html>";

mail("$textfield3", "Submitted Information from TJW Racing Website", "

The information you entered at the TJW Racing website is displayed below. If there are any problems please don't hesistate to contact us.

Name: $textfield2
E-Mail: $textfield3
TelNo: $textfield4
FAX: $textfield5
Comments: $textfield


TJW Racing

---

Email: *********@aol.com
Website: www.tjwracing.com

", "From: comments@tjwracing.com");

mail("*********@aol.com", "Submitted Information from TJW Racing Website", "

Name: $textfield2
E-Mail: $textfield3
TelNo: $textfield4
FAX: $textfield5
Comments: $textfield

", "From: $textfield3");
?>

Reply With Quote
  #2  
Old August 11th, 2003, 04:47 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: Form & php problem

I don't see anything in the code you posted that remotely resembles a form, form elements or a submit button. Please clarify what your problem is.


Reply With Quote
  #3  
Old August 27th, 2003, 02:14 PM
xs0 xs0 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Ljubljana, Slovenia
Posts: 760 xs0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Form & php problem

Try using $_REQUEST:

...
Name: ".$_REQUEST["textfield2"]."
E-Mail: ".$_REQUEST["textfield3"]."
...


Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Form & php 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 5 hosted by Hostway