Hi All,
I keep getting this error message:
Warning: Undefined variable: submit in d:\hs_users\AU20017011\contact.php on line 350
And the code looks like this :
Line 346: <?php
Line 347: $title = "Contact VAGABOND";
Line 348: $page = "front";
Line 349:
Line 350: if ($submit) {
Line 351: // send the email
Line 352: $body = "This is feedback from the VAGABOND website. Some fields may be blank. This indicates they were not filled in.\n\n";
Line 353: while (list($k,$v) = each($HTTP_POST_VARS)) {
Line 354: $body .= "$k: $v\n";
Line 355: }
Line 356:
Line 357: // rest of the message
Line 358: $to = "info@vagabond.com.au";
Line 359: $subject = "Vagabond website feedback";
Line 360: mail($to, $subject,$body, "From: $email");
Line 361: ?>
Line 362: </font><br>
Line 363: <?php
Line 364: }
Line 365: ?>
Any help is greatly appreciated!!!
Thanks