Hi everyone - I need a way to turn a column in my table into a list. Basically, my table consists of: userId, name, and "role" (0 or 1). I want to write a function that outputs a list of usernames. This is what I have:
I get no result when I do this (nor do I get an error message...)
Please help! I feel terrible wasting so much time on this issue because I have a feeling it's pretty trivial
Code:
function checking_query() { global $connection; $query = "SELECT GROUP_CONCAT(userId) FROM owner"; $result = mysql_query($query, $connection); confirm_query($result); var_dump($result); }
Please help! I feel terrible wasting so much time on this issue because I have a feeling it's pretty trivial
Comment