Header menu

_________________________________________________________________________________

Thursday, 22 August 2013

How to convert a string into array in php ?

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

No comments:

Post a Comment