话不多说,直接上码
<?php
//资源目录
$sk_source="/skfunction/1/";
//资源数组
$khset=array (
kh_all => array (
"qq" => "85635814",
"tel" => "18736098061",
"swt" => "123456789",
"logo" => $sk_source."logo.gif",
"banner1" => $sk_source."banner1.jpg",
"banner2" => $sk_source."banner2.jpg",
"banner3" => $sk_source."banner3.jpg",
),
kh_fudong => array (
'1' => 'http://www.zhen.com/uploadfile/2012/0917/20120917111259386.jpg',
'2' => '1',
),
2 => array (
'1' => 'http://www.zhen.com/uploadfile/2012/0917/20120917111259386.jpg',
'2' => '1',
),
);
echo '<pre>';
print_r($khset);
echo '</pre>';
?>