<?php
//explode string into array
$str=" Test Explode function in php ";
print_r (explode(" ",$str));
?>
it will be Output like:
Array ( [0] => [1] => Test [2] => Explode [3] => function [4] => in [5] => php [6] => )
//explode string into array
$str=" Test Explode function in php ";
print_r (explode(" ",$str));
?>
it will be Output like:
Array ( [0] => [1] => Test [2] => Explode [3] => function [4] => in [5] => php [6] => )