Re: Building an array, kind of?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2008/10/24 Dan Shirah <mrsquash2@xxxxxxxxx>:

> 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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux