I am trying to recieve basic information off of a form. The script I am using seems to be working and it sends the information to me however it removes the Name and Quantity of Items the person is looking for, I recieve the product the person wants and the email address.
Here is the form code. http://pixodelparagon.com/form.txt
and here is the PHP code http://pixodelparagon.com/php.txt
any help or advice on what might be going on would be great.
Thank you in advance!
Hi
I see nothing clear going wrong. Have you tried looking at the $POST array directly? e.g., print_r($POST); to see what is submitted?
You aren't using the mail() function correctly.
mail($to, $name, $email, $product, $qty)
change to something like:
$subject = "My subject"; $body = $name . "\n". $email . "\n". $product . "\n". $qty; mail($to, $subject, $body);