Greetings. There is a MySQL table with id and name columns, for example. What is the shortest way I can get an array of all values from the name column?
Of course, I can go through the loop and with the help of mysqli_fetch_assoc put the value from a specific column from each row into an array, but are there any more elegant solutions?
array_column, right? Thank you, your advice helped, issue a response. - LNK