Jeff - Webmaster wrote:
Here is a snippet of the code that is being choked on. The first failure comes from line 6:

<?php
        $name = $_POST['name'];
        $address = $_POST['address'];
        $email = $_POST['email'];
        $phone = $_POST['phone'];
        $type = $_POST['type'];
        $message = $_POST['message'];

The variables are being passed from an html form that calls this script with the post method.

Jeff

If you're going to use the super-global $_POST, why do you need globals on?

Anyway, how is 'type' passed from the previous page? Show the code for that. What type of form field is it?

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to