Thread: Form Error
View Single Post
  #4  
Old 05-13-2008, 02:00 PM
Karen Gold Karen Gold is offline
Sergeant
 
Join Date: Apr 2008
Location: Cape Town, South Africa
Posts: 23
Default Re: Form Error

OK - I think this is my php code

<?PHP
$mailto = "karengold@telkomsa.net";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "Shop";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
if ($key!="submit")
{
__________________

Karen
Reply With Quote