Re: Re: Push an Array, Comma separated.

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

 



This is what I did. And it worked.

$saveFiles = array();
$arrSize=sizeof($saveFiles);
            for ($number = 0; $number < $arrSize; $number++) {
                $saveFilesDump = "$saveFiles[$number], ";
                echo "$saveFiles[$number], ";
            }

File1.txt, File2.txt, File3.txt,

--
Louie Miranda (lmiranda@xxxxxxxxx)
http://www.louiemiranda.net

Quality Web Hosting - www.axishift.com
Pinoy Web Hosting, Web Hosting Philippines


2009/6/30 João Cândido de Souza Neto <joao@xxxxxxxxxxxxxxxxxxx>

> May be array_merge($array, explode(",", $string)).
>
> --
> João Cândido de Souza Neto
> SIENS SOLUÇÕES EM GESTÃO DE NEGÓCIOS
> Fone: (0XX41) 3033-3636 - JS
> www.siens.com.br
>
> "Louie Miranda" <lmiranda@xxxxxxxxx> escreveu na mensagem
> news:5016fc50906300125s12389ae1v3323c63c30343fa1@xxxxxxxxxxxxxxxxx
> > GPS Administrative Page v2.3.12 (BETA)My array:
> > Array ( [0] => Demo2.txt [1] => Demo.txt [2] => Demo.txt )
> >
> > How could I push the values as:
> >
> > -> Demo2.txt, Demo.txt, Demo.txt?
> >
> > Not sure which approach is good.
> >
> > $saveFiles = array();
> > array_push($saveFiles, $ufName);
> >
> > Help
> > --
> > Louie Miranda (lmiranda@xxxxxxxxx)
> > http://www.louiemiranda.net
> >
> > Quality Web Hosting - www.axishift.com
> > Pinoy Web Hosting, Web Hosting Philippines
> >
>
>
>
> --
> 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