Re: Stupid question=p
| From: | Andreas Landmark | Date: | Sun, 16 Sep 2001 19:37:50 +0000 |
| Subject: | Re: Stupid question=p | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-12484@lists.php.net to get a copy of this message | ||
On Sun, Sep 16, 2001 at 03:43:32PM -0400, Glenn B. wrote:
>
> Am I able to make a field an array in MySQL? Thanks.
>
What exactly do you mean?
Do you want to fetch fields in arrays or do you want store/retrieve the
contents of a field and use that as an array?
The former:
-----------
mysql_fetch_array() should give you all the functionality you need..
The latter:
-----------
Use implode() and explode().
--
Andreas D Landmark / noXtension
A fool-proof method for sculpting an elephant: first, get a huge block
of marble; then you chip away everything that doesn't look like an
elephant.