I have a mysql table I run a select on
$sql = 'SELECT optionName FROM providers_options WHERE providerID = :id';
$prepare = $conn->prepare($sql);
$parameters = array(
':id' => $id
);
$prepare->execute($parameters);
$provider_options = $prepare->fetch();
W"hen I print_r($provider_options) to see the resulting array, I only get 1 result, but when I run t he query, I get 4.
Is $provider_options not the resulting array?
what is?