my query looks something like this:
$result = mysql_query("SELECT * FROM table WHERE column_name LIKE 'J%'", $connect);
if i have three 'john' in column_name, how do i output 'john' only once along with everything else that matches 'J%'
Add 'GROUP BY column_name'