explode help needed

    Date: 04/21/09 (PHP Development)    Keywords: php

    [solved, thanks to darac]

    Me again! And i may be back for more help later too! hehe

    Anyways, i need some help with the explode function in php.

    If i have an Array of words, how do i display that array and have commas inbetween each word?

    From:

    Array (
         [0] => one     
         [1] => two     
         [2] => three
         [3] => four five six
     ) 


    How do i get it to display onscreen as:
    one, two, three, four five six

    The important thing is to *not* have a comma at the very end.

    thanks in advance! :)

    Paul

    Source: https://php-dev.livejournal.com/81929.html

« phpAPP: Include file to... || Давайте писать... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home