Q: Contact form with Bootstrap + Php not working I am a beginner and I am trying to use this tutoriel http://untame.net/2013/05/how-to-build-a-modal-contact-form-in-twitter-bootstrap-with-php-ajax for creating my contact form. Email not sending ! Do you have an idea, why ? Thanks for your help !
After clicking on Send I have this on adresse web : http://viktorius.fr/?question=&email=&save=contact
Here the HTML code :    
<div style="margin-bottom: 25px" class="input-group">
<span class="input-group-addon"><img src="img/glyphicons_012_heart.png"></span>
                                        <input id="login-username" type="text" class="form-control" name="username" value="" placeholder="What is your question ?">                                        
                                    </div>

                                    <h5 id="Email" align="left" color="#000"<span style="color:black">For the answer, let us your email :</h5>


                                 <div style="margin-bottom: 25px" class="input-group">
                                        <span class="input-group-addon"><img src="img/glyphicons_290_skull.png"></span></span>
                                        <input id="login-username" type="text" class="form-control" name="username" value="" placeholder="Email">                                        
                                    </div>



       <!-- Form itself -->


        <div class="form-actions">
            <input type="hidden" name="save" value="contact">
        <button type="submit" class="btn btn-primary pull-right">Send</button><br />

Here the PHP code :
<?php
ini_set("SMTP","smtp.viktorius.fr");
ini_set("smtp_port","25″);
$myemail = 'postmaster@viktorius.fr';
if (isset($_POST['question'])) {
$email = strip_tags($_POST['email']);
echo "<span class=\"alert alert-success\" >Your message has been received. Thanks! Here is what you submitted:</span><br><br>";
echo "<stong>Question:</strong> ".$question."<br>";
echo "<stong>Email:</strong> ".$email."<br>";   


A: if (isset($_POST['name']))

<input id="login-username" type="text" class="form-control" name="username" value="" placeholder="What is your question ?"> 

Check the name of your inputs, php cant read your post data.

A: There is not a single form here...
the ajax expects to serialize 
<form class="contact">...

$('form.contact').serialize(),

And you don't have a form 
You should put all your inputs and button inside a form tag with class contact like this:
<form action="" class="contact">    
    <div style="margin-bottom: 25px" class="input-group">
        <span class="input-group-addon"><img src="img/glyphicons_012_heart.png"></span>
        <input id="login-username" type="text" class="form-control" name="username" value="" placeholder="What is your question ?">
    </div>
    <div style="margin-bottom: 25px;" class="input-group">
        <span class="input-group-addon"><img src="img/glyphicons_290_skull.png"></span>
        <input id="login-username" type="text" class="form-control" name="username" value="" color="#000000"placeholder="For the answer, let us your email adress here :">
    </div>
    <div class="form-actions">
        <input type="hidden" name="save" value="contact">
    <button type="submit" class="btn btn-primary pull-right">Send</button><br>
    </div>
</form>

