|
Your first version uses small letters where there should be capital ones, in the form field's names (name => Names, city => City etc.) and also you changed the form name Company into business.
You second version checks if $email equals '', but the variable $email is never set (you use $from) so the check will always fail.
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
|