[ create a new paste ] login | about

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

PHP, pasted on Mar 29:
1
2
3
4
5
6
7
8
9
10
11
<?php

$store = array(1=>"101Phones - Product Catalog TXT",2=>"1-800-FLORALS - Product Catalog 1");

foreach( $store as $key => $value){
    $store[$key] = $value.".txt.gz";
}

print_r ($store);

?>


Output:
1
2
3
4
5
Array
(
    [1] => 101Phones - Product Catalog TXT.txt.gz
    [2] => 1-800-FLORALS - Product Catalog 1.txt.gz
)


Create a new paste based on this one


Comments: