Splice the array at the point in your result array where No make
specified is, for one element, then append it back onto the result array.
Here ...
$noMake = array_splice( $resultArray, array_search( No make specified,
$resultArray ), 1); // This should be one line, sorry :)
$newResults =
Trying to use the solution without positive results
First need to clarify, I'm actually trying to order the model. Here's my
original query;
$make_query = SELECT make.make, model.model, application.make_id,
application.model_id FROM application INNER JOIN make ON make.id =
application.make_id
2 matches
Mail list logo