Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php convert string to array

$str = "Hello world. It's a beautiful day.";
print_r (explode(" ",$str));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #convert #string #array
ADD COMMENT
Topic
Name
6+8 =