Home » , » How to convert a string into array in php ?

How to convert a string into array in php ?

Written By Unknown on Kamis, 22 Agustus 2013 | 03.53

<?php
$str="Example";
$arr=array();
$arr=str_split($str);
echo "<pre>";
print_r($arr);
echo "</pre>";
?>
Share this article :

Posting Komentar

 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. Kumpulan Kata Broadcast Blackberry - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger