In this tutorial we talk about how to use PHP explode method to your pages.
Syntax explode method
<?php $str = "Hello world. It's a beautiful day"; print_r (explode(".",$str)); ?>
You can use this code to The explode() function breaks a string into an array.
Then you call your result:
echo $result; // Echoes: Hello world echo $result; // Echoes: It's a beautiful day.
It’s probably safe to assume that he will need to split on more than just the string