Way to C / C++, Php, Jquery, Html, Sql.
Way to C / C++, Php, Jquery, Html, Sql.
Header menu
Home
C/C++
Php
Html
Jquery
SQL
Interview Questions
Programs
Sitemap
Keyboard-Shortcuts
_________________________________________________________________________________
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment