-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinscription.php
47 lines (44 loc) · 1.63 KB
/
inscription.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<form id='formInscription' method='post' action='fonctions/addUser.php'>
<h1 class="page-header">Inscription</h1>
<div class='form-group'>
<label for=''>Email</label>
<input type='email' class='form-control' name='email' placeholder='[email protected]'>
</div>
<div class='form-group'>
<label for=''>Mot de passe:</label>
<input type='password' class='form-control' name='password' placeholder='***'>
</div>
<div class='form-group'>
<label for=''>Nom</label>
<input type='text' class='form-control' name='nom' placeholder='Deroguerre'>
</div>
<div class='form-group'>
<label for=''>Prenom</label>
<input type='text' class='form-control' name='prenom' placeholder='Guillaume'>
</div>
<div class='form-group'>
<label for=''>Adresse</label>
<input type='text' class='form-control' name='adresse' placeholder='3-5 D rue des capucins'>
</div>
<div class='form-group'>
<label for=''>Ville</label>
<input type='text' class='form-control' name='ville' placeholder='Lyon'>
</div>
<div class='form-group'>
<label for=''>Code Postal</label>
<input type='text' class='form-control' name='cp' placeholder='69001'>
</div>
<button type='submit' class='btn btn-default'>S'inscrire</button>
</form>
<!--<script>
$(function() {
$('#formInscription').submit(function() {
email = $(this).find("input[name=email]").val();
$.post("fonctions/addUser.php", {mail: mail}, function(data) {
alert(data);
});
//empeche la soumission du formulaire
return false;
});
});
</script>-->