I have this code for getting how many results there are in results there are in a column:
$result = "SELECT name FROM users";
echo $result;
How can I display a certain number of a specific string? For example, I want to search for the name "Andrew" in the column "name". There are 20 results for "Andrew". How can I echo out "20"?