View Single Post
  #9 (permalink)  
Old 07-28-2008, 06:42 PM
Guperman
 
Posts: n/a
Diggs:
Default Re: Form to Mail PHP

Gary wrote:
>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");

Hi Gary. The following is what comes up when I click the submission button
after I have inserted the above script:

Array
(
[name] => test
[people] => 3
[arrival] => 5/3?08
[time] => between 12am-1pm
[cruiseship] => Liliship
[check] => Yes I\'ve read the terms and conditions
[submit] => Submit
)


Reply With Quote