Re: Building an array, kind of?
| From: | David Otton | Date: | Fri, 24 Oct 2008 15:17:01 +0000 |
| Subject: | Re: Building an array, kind of? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-282405@lists.php.net to get a copy of this message | ||
2008/10/24 Dan Shirah <mrsquash2@gmail.com>:
> How would I go about putting that in a variable to equal
> "1234,1235,1236,1237,1238,1239" ?
>
Pseudocode:
$t = array();
foreach($resultset as $row)
$t[] = $row;
$t = join(',',$t);
--
http://www.otton.org/