par
barale61 » 29 mai 2013, 15:06
Bonjour,
J'ai un champ dans ma table en fulltext avec ma requête, cela ne me retourne aucun résultat:
mysql_select_db($database_connexion, $connexion);
$query_rsRecherche = sprintf("select * from recettes
WHERE MATCH (recettes_titre) AGAINST ('$rechercher') ") ;
$query_limit_rsRecherche = sprintf("%s LIMIT %d, %d", $query_rsRecherche, $startRow_rsRecherche, $maxRows_rsRecherche);
$rsRecherche = mysql_query($query_limit_rsRecherche, $connexion) OR die(mysql_error());
$row_rsRecherche = mysql_fetch_assoc($rsRecherche);
Je ne vois pourtant pas d'erreur si vous pouvez me dire ?
Bonjour,
J'ai un champ dans ma table en fulltext avec ma requête, cela ne me retourne aucun résultat:
[php]mysql_select_db($database_connexion, $connexion);
$query_rsRecherche = sprintf("select * from recettes
WHERE MATCH (recettes_titre) AGAINST ('$rechercher') ") ;
$query_limit_rsRecherche = sprintf("%s LIMIT %d, %d", $query_rsRecherche, $startRow_rsRecherche, $maxRows_rsRecherche);
$rsRecherche = mysql_query($query_limit_rsRecherche, $connexion) OR die(mysql_error());
$row_rsRecherche = mysql_fetch_assoc($rsRecherche);[/php]
Je ne vois pourtant pas d'erreur si vous pouvez me dire ?