hello, how can I Select and dont'show duplicates? actually it's showing like that: apple | apple | apples | apple
this is my code:
$search = $_GET['q'];
$query = "SELECT * FROM query WHERE searchquery LIKE '%$search%' AND searchquery <> '$search'";