[PHP] print a element of a column

2004-08-29 Thread devil_online
Hi, I want to print each element of a column of a mysql database. For exemple to print the first element could we do like this: Code: $result = mysql_query( SELECT username FROM users ); $column = mysql_fetch_array($result); print $column[1]; print $column[3];

Re: [PHP] print a element of a column

2004-08-29 Thread John Nichel
devil_online wrote: Hi, I want to print each element of a column of a mysql database. For exemple to print the first element could we do like this: Code: $result = mysql_query( SELECT username FROM users ); $column = mysql_fetch_array($result); print $column[1]; print