Form values not submitting to php mail -
my problem follows:
i have these inputs:
<select class="span1 select_rooms" id="zimmern"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> </select> <input type="text" class="span9 mail" id="email" /> and php code:
$success = false; $senderemail = isset( $_post['email'] ) ? preg_replace( "", "", $_post['email'] ) : ""; $zimmern = isset( $_post['zimmern'] ) ? preg_replace( "", "", $_post['zimmern'] ) : ""; $message = 'email: '.$senderemail.'message: '.$zimmern;' which html attribute recognized php variables?
your form fields have no name attributes. without them values not submitted.
<select class="span1 select_kids" id="kinder"> should be
<select class="span1 select_kids" name="kinder" id="kinder"> etc.
Comments
Post a Comment