Re: mysql_fetch_array
| From: | sarahana | Date: | Sat, 10 Jun 2000 07:19:49 +0000 |
| Subject: | Re: mysql_fetch_array | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-305@lists.php.net to get a copy of this message | ||
I guess I have to move the cursor to the next file, right? duh. :-(
sarahana wrote:
> If I select a column from a table, and use mysql_fetch_array to store
> the data into an array, what can I do so that each row of the column
> gets stored as an element in the arrray?
>
> What I actually want to do is select a column and list them in a select
> menu, and I'm using "do while" to list each row as an option in the
> menu. It would help if I knew how the data gets stored in the array in
> "mysql_fetch_array"...
>
> Thanks!
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net