Ajout search bar , genre...
This commit is contained in:
		@@ -27,6 +27,31 @@
 | 
			
		||||
            <?php endif; ?>
 | 
			
		||||
        </ul>
 | 
			
		||||
    </nav>
 | 
			
		||||
 | 
			
		||||
    <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">
 | 
			
		||||
            <option value="">Ordre :</option>
 | 
			
		||||
                <option value="asc">Croissant</option>
 | 
			
		||||
                <option value="desc">Decroissant</option>
 | 
			
		||||
            </select>
 | 
			
		||||
                <button type="submit">Envoyer</button>
 | 
			
		||||
	</form>
 | 
			
		||||
</main>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user