Re: Retrieve multiple value's
| From: | Frank Keessen | Date: | Sun, 25 May 2003 15:04:02 +0000 |
| Subject: | Re: Retrieve multiple value's | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28018@lists.php.net to get a copy of this message | ||
Hi Larry,
Thanks for the info; it works now!
Frank
----- Original Message -----
From: "Larry E. Ullman" <LarryUllman@DMCInsights.Com>
To: "Frank Keessen" <fkeessen@planet.nl>
Cc: <php-db@lists.php.net>
Sent: Sunday, May 25, 2003 4:59 PM
Subject: Re: [PHP-DB] Retrieve multiple value's
> > If got in one field multiple values (example; 5,6 or 7,9,23).
> > Question is: how can I retrieve this fields out of mysql and put it in
> > array??
>
> 1) Retrieve it as you would any other value from a database.
> 2) Use explode() to turn it into an array.
>
> Larry
>
> PS Please don't cross-post. Many people subscribe to both the PHP
> general and PHP-DB lists and therefore get your message twice.
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>