Re: Retrieve multiple value's
| From: | Larry E. Ullman | Date: | Sun, 25 May 2003 14:59:21 +0000 |
| Subject: | Re: Retrieve multiple value's | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28015@lists.php.net to get a copy of this message | ||
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.