SyntaxFix
Write A Post
Hire A Developer
Questions
If you're executing this through PHP, what about this?
$hQuery = mysql_query("SELECT * FROM users"); while($hRow = mysql_fetch_array($hQuery)) { $hOut .= $hRow['username'] . ", "; } $hOut = substr($hOut, 0, strlen($hOut) - 1); echo $hOut;