PHP–implode() 將陣列轉成字串
Temperature: 0 °C
使用implode將陣列轉換成字串;
$ar=array('a','b','c','d','e');
$output=implode(",",$ar);
print_r($output);
輸出結果:
a,b,c,d,e
HOME All Categories PHP–implod...
Temperature: 0 °C
使用implode將陣列轉換成字串;
$ar=array('a','b','c','d','e');
$output=implode(",",$ar);
print_r($output);
Mark Chang
離不開電腦的宅男
Leave some footprints to prove that you visited me
Author's other related stories
Please select an option
error
Copy complete
Hi, thank you for your participation, but you cannot vote repeatedly~
Wrong format