32 lines
		
	
	
		
			985 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			985 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<form methode="GET">
 | 
						|
    <input type="text" name="query" palceholder="Rechercher...">
 | 
						|
</form>
 | 
						|
<form methode="GET">
 | 
						|
        <select name="artist" id="artist">
 | 
						|
            <option value=''>Tous</option>
 | 
						|
            <?php foreach($artistes as $artiste){
 | 
						|
                echo "<option value='{$artiste->name}'>{$artiste->name}</option>";
 | 
						|
            }
 | 
						|
            ?>
 | 
						|
            </select>
 | 
						|
 | 
						|
            <select name="genre" id="genre">
 | 
						|
            <option value=''>Tous</option>
 | 
						|
            <?php foreach($genres as $genre){
 | 
						|
            echo "<option value='{$genre->name}'>{$genre->name}</option>";
 | 
						|
            }
 | 
						|
            ?>
 | 
						|
            </select>
 | 
						|
 | 
						|
            <select name="order" id="order" onchange="submitForm()">
 | 
						|
                <option value="">Ordre :</option>
 | 
						|
                <option value="asc">Croissant</option>
 | 
						|
                <option value="desc">Decroissant</option>
 | 
						|
            </select>
 | 
						|
 | 
						|
 | 
						|
            <button type="submit">Envoyer</button>
 | 
						|
</form>
 | 
						|
</main>
 | 
						|
</body>
 | 
						|
</html>
 |