RE: [PHP] MySQL: Select ALL

2001-08-09 Thread Karl Phillipson
if(!($result=mysql_db_query("SELECT username FROM users" $db))) { print "Error getting rows"; exit(); } while($row=mysql_fetch_array($result)) { $username=$row["username"]; print "$username"; } mysql_free_result($res

Re: [PHP] MySQL: Select ALL

2001-08-09 Thread Daniel Rezny
Hello Tarrant, Thursday, August 09, 2001, 1:14:25 PM, you wrote: TC> When saying; mysql_query("SELECT username FROM users",$db); it only show's TC> one of the first users in the column "users". TC> Could someone please tell me how to make it print out the complete column TC> list of usernames. I

Re: [PHP] MySQL: Select ALL

2001-08-09 Thread B. van Ouwerkerk
> but no luck. Take a look at one of the tutorials.. Many can be found on the links page you can click to on www.php.net This will help you to find the info you need and also answer the next question you're going to ask. Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsu