View Single Post
  #8 (permalink)  
Old 07-27-2008, 01:03 PM
Gary White
 
Posts: n/a
Diggs:
Default Re: Form to Mail PHP

On Sat, 26 Jul 2008 16:32:08 +0000 (UTC), "Guperman"
<webforumsuser@macromedia.com> wrote:

> You asked me what happens if I send the form. When I send it I do receive an
>email, but with no content. Like this:


First, double check that the form's method is set to post, not get.
Then, for debugging purposes, Try this to see what the script is
seeing.

<?php

print "<pre>\n";
print_r($_POST);
exit("</pre>\n");

/* subject and email variables */

$emailSubject = 'Reservation Day Trip with Jimmy Felix';
$to = 'gustav@stage.co.za';

/* Gathering Data Variables */

Gary
Reply With Quote