Return to Snippet

Revision: 34972
at October 31, 2010 09:08 by zreedeecom


Initial Code
<?php

$array = array( [0] => "value 1", [1] => "value 2" );
$output = implode( ",", $array );
echo $output;

# This will output:
# value 1,value 2

Initial URL

                                

Initial Description

                                

Initial Title
Array to string

Initial Tags
php, array

Initial Language
PHP