[PHP] Building array ?

2005-05-18 Thread Paul Nowosielski
HI All, I'm trying to build an array of user id's. This is the code I've written that does not work. while($row=mysql_fetch_array($result)){ // put user ID's into an array; $uidToAdmin .= array ($row[user_id]); // for debugging echo brUID $row[user_id]BR; echo BRAUID

Re: [PHP] Building array ?

2005-05-18 Thread Jochem Maas
Paul Nowosielski wrote: HI All, I'm trying to build an array of user id's. This is the code I've written that does not work. while($row=mysql_fetch_array($result)){ thereisnothingwrongwithwhitespaceitcanhelplegebilityofyourcode:-) // put user ID's into an array; $uidToAdmin .= array

Re: [PHP] Building array ?

2005-05-18 Thread Philip Hallstrom
I'm trying to build an array of user id's. This is the code I've written that does not work. while($row=mysql_fetch_array($result)){ // put user ID's into an array; $uidToAdmin .= array ($row[user_id]); $uidToAdminArray[] = $row[user_id]; // for debugging echo brUID $row[user_id]BR; echo

Re: [PHP] Building array ?

2005-05-18 Thread Brian V Bonini
On Wed, 2005-05-18 at 12:00, Paul Nowosielski wrote: HI All, I'm trying to build an array of user id's. This is the code I've written that does not work. while($row=mysql_fetch_array($result)){ // put user ID's into an array; $uidToAdmin .= array ($row[user_id]); // for