In this tutorial we talk about how to use PHP explode method to your pages.
Syntax explode method
explode(separator,string,limit)
<?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[0]; // Echoes: Hello world
echo $result[1]; // Echoes: It's a beautiful day.
It’s probably safe to assume that he will need to split on more than just the string
I do not even know how I ended up here, but I thought this post was great. I don’t know who you are but definitely you are going to a famous blogger if you are not already 😉 Cheers!
Some times its a pain in the ass to read what people wrote but this web site is rattling user friendly! .
Hello my friend! I wish to say that this article is awesome, nice written and include approximately all significant infos. I would like to see more posts like this.