Changes

Working with Strings and Text in PHP

No change in size, 13:53, 20 June 2007
Converting a String into a PHP Array
Any string in PHP can be converted into a PHP array (see the [[PHP Arrays]] chapter for an overview of arrays). This is achieved using the PHP ''explode()'' function. The ''explode()'' function takes three arguments and returns an array:
* '''delimeterdelimiter''' - the character that is to be used as the break point between array elements. For example a space character or a comma.
* '''string''' - the string that is to be converted into an array.