bjr,j'ai créé un moteur de recherche (%LIKE%) mais sans multiselection et donc je voudrais savoir :comment je commence mon code php pour créer un moteur de recherche comme cet forme(avec sélection)?
est ce que ce condition est juste?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11<form > Saisissez un ou plusieurs mots : <input type="text" name="search" size="20" value='<?php echo htmlentities($search) ?>'> <select > <option >satellite-tools</option> <option >movies</option> <input type="submit" value="submit"> </select > </form>
if(isset($_GET['search satellite-tools']) && strlen($_GET['searchsatellite-tools'])>4){
$search=$_GET['search satellite-tools'];
}
et merci d'avance
Partager