[ create a new paste ] login | about

Link: http://codepad.org/c6qq1jZo    [ raw code | output | fork ]

PHP, pasted on May 29:
1
2
3
4
5
6
<?php
$selected_sizes = array(0 => 1, 1 => 3);

$selected_sizes_comma_seprated = implode(',', $selected_sizes);

echo $selected_sizes_comma_seprated; // 1,3


Output:
1
1,3


Create a new paste based on this one


Comments: