Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 866 | Rev 876 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 866 Rev 867
Line 74... Line 74...
74
			$stats['sauvages']['count']++;
74
			$stats['sauvages']['count']++;
75
			// $stats['sauvages']['data'][] = [$d['id_observation'], $n];
75
			// $stats['sauvages']['data'][] = [$d['id_observation'], $n];
76
			continue;
76
			continue;
77
		}
77
		}
Line -... Line 78...
-
 
78
 
78
 
79
	recherche:
79
		//$s = mysql_query("SELECT * FROM i_bdtfx WHERE MATCH('" . str_replace($from,$to,$n) . "') LIMIT 5", $dbs);
80
		//$s = mysql_query("SELECT * FROM i_bdtfx WHERE MATCH('" . str_replace($from,$to,$n) . "') LIMIT 5", $dbs);
80
		$s = mysql_query("SELECT * FROM i_bdtfx WHERE MATCH('" . $n . "') LIMIT 5", $dbs);
81
		$s = mysql_query("SELECT * FROM i_bdtfx, i_nvjfl WHERE MATCH('" . $n . "') LIMIT 5", $dbs);
81
		if(!$s) {
82
		if(!$s) {
82
			$stats['sphinx errors']['count']++;
83
			$stats['sphinx errors']['count']++;
83
			// $stats['sphinx errors']['data'][] = [$d['id_observation'], $n];
84
			// $stats['sphinx errors']['data'][] = [$d['id_observation'], $n];
84
			continue;
85
			continue;