Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > BlueVoda Website Builder Forums > BlueVoda - General Issues

Notices

BlueVoda - General Issues All BlueVoda support issues that are not covered in the below forums.

Closed Thread
 
Thread Tools
  #1  
Old 09-19-2005, 03:54 AM
Patti Johnson's Avatar
Sergeant Major
 
Join Date: Jul 2005
Posts: 95
Question HTML code for Contact Form

If one of you great html people out there can help me with this, I'll be very happy. Here's my form www.winetastingatyourhome.com/contact.html and the following is the code on my contact.php file on the server. Obviously the code does not include all aspects of the form, so when I receive an email, it does not include all the fields that are on the form itself. Can someone help me with changing this code so that the form will relay all info correctly? The submit button works fine.

<HTML>
<HEAD>
<TITLE>Thank you.</TITLE>
</HEAD>
<BODY>
<H2>Thank you. We will contact you shortly.</H2>
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "contact@winetastingatyourhome.com";
$mailsubj = "contact form";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);

$mailbody = "Values submitted from web site form:\n";

while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
</BODY>
</HEAD>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old 09-20-2005, 01:40 AM
fun-colorado-family-hikes's Avatar
Corporal
 
Join Date: Aug 2005
Location: Castle Rock, CO
Posts: 16
Default

Did you name all the fields on the form?


I know whan I don't name the fields it only returns the first data value entered because the rest of the fields have the same name.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old 09-22-2005, 06:56 PM
Patti Johnson's Avatar
Sergeant Major
 
Join Date: Jul 2005
Posts: 95
Default

Yes, I think I got it... thanks.



Quote:
Originally Posted by fun-colorado-family-hikes
Did you name all the fields on the form?


I know whan I don't name the fields it only returns the first data value entered because the rest of the fields have the same name.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML code topcatgym General Support Issues 6 11-22-2005 12:46 AM
Copy HTML into the code Quint Search Engine Topics and VodaHits 6 09-16-2005 12:23 PM
HTML Problem racefan20 BlueVoda - General Issues 2 08-03-2005 06:43 PM
BlueVoda 7.0 VodaHost CSS Cascading Style Sheets 27 07-31-2005 06:52 AM
Insert php code in webpage (html) ali BlueVoda - General Issues 8 07-30-2005 04:59 AM


All times are GMT +1. The time now is 07:51 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203