Matthias S. wrote:
> hi zoltan,
> 
> thanks for your reply. i've tried the -f switch but the only effect it has
> is an error message ;)
> 
> Warning: mail() [function.mail]: SAFE MODE Restriction in effect. The fifth
> parameter is disabled in SAFE MODE.

which another way of saying 'my hosting env sucks' - but that's besides the 
point.
(short story: 'safe mode' isn't)

> 
> as for the age value:
> it is simply incorrect because it is always empty... input might be for
> example 25, but the var $age contains always an empty string.
> 
> Can you help? I'm a programmer (C++)

so the concept of debugging code should not be new to you.
so hello to print_r(), var_dump() and echo - they are your friends.

e.g. stick the following at the top of your script (to start with):

var_dump(
        $_POST['_txtAge'],
        $_POST
);

my guess is your form element name and post array key are not identical.

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

Reply via email to