-
Notifications
You must be signed in to change notification settings - Fork 1
/
api.php
39 lines (39 loc) · 1.34 KB
/
api.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
<?php include './config/bdds.php';
include 'header.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CANDIDATURE</title>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="grille">
<div class="apidiv1 adiv">
<form id="myForm" method="post">
<h2>1.Recherchez :</h2>
<input type="text" placeholder="titre" name="titre" id="titre">
<input type="text" placeholder="artiste" name="artiste" id="artiste">
<button type="button" onclick="submitForm();">Recherche</button>
</form>
</div>
<div class="apidiv2 adiv">
<h2>2.Choisissez dans la liste :</h2>
<div id="texte"></div>
</div>
<div class="apidiv3 adiv">
<form for="valider" method="post" action="music.php">
<h2>3.Confirmez :</h2>
<input type="text" name="chansonFinale" readonly id="chansonFinale">
<input type="text" name="auteurFinal" readonly id="auteurFinal">
<button type="submit" name="valider" >Je valide</button>
</form>
</div>
</div>
<?php include 'footer.php'; ?>
<script src="./assets/js/app1.js"></script>
</body>
</html>