PHP – Explode
The PHP function explode lets you take a string and blow it up into smaller pieces. For example, if you had a sentence you could ask explode to use the sentence’s spaces ” ” as dynamite and it would blow up the sentence into separate words, which would be stored in an array. The sentence “Hello, world, PHP is amazing language.” would look like this after explode got done with it:
1. Hello,
2. world,
3. PHP
4. is
5. amazing
6. language
Tags: Explode, Functions, PHP Functions
Posted in: Explode, PHP Functions
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment
Posted in: Explode, PHP Functions
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment
