Answer the question
In order to leave comments, you need to log in
How to display the result with only negatives?
There is a simple query
$sphinx = new SphinxClient;
$sphinx->SetServer('localhost', 9312);
$sphinx->SetConnectTimeout(1);
$sphinx->SetSortMode ( SPH_SORT_ATTR_DESC, "id_film" );
$sphinx->SetLimits ( $start_pos, $perpage );
$result = $sphinx->Query($q, 'p_index');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question