PHP Magic Book – Free PHP Scripts, Tutorials and Downloads, PHP AtoZ Reloaded, free php tutorials, free php downloads, php scripts, PHP tips

Archive for the ‘ Explode ’ Category

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

(more…)

Tags: , ,
Posted in: Explode, PHP Functions
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

    


  Subscribe Via RSS
  Subscribe Via Email