php - How to get one column of mysql_query results into an array? -
php - How to get one column of mysql_query results into an array? -
i'm selecting single column mysql table mysql_query(). there function getting results array, or have iterate through results mysql_fetch_array()?
you have iterate.
if moved 21st century, , used mysqli, there's mysqli_fetch_all() function.... , you'd able utilize prepared statements
php mysql
Comments
Post a Comment