PHP Questions Forums : PHP Questions and Answers
Turning a string of text into an arrayBy: Timjohns [28-January-10 5:26AM]25 posts |
|
Here's a function in PHP that was added reasonably recently that those who learned PHP years ago might not know that is a quick and convenient way of putting each member of a string into an array. | |
Re : Turning a string of text into an arrayTimjohns [29-January-10 6:15AM] 25 posts |
|
|
Just for completeness I thought I would pass the method for turning a string like the above into an array if you don't have access to PHP5 and therefore need another way of turning a string into an array in PHP. | |
Re : Turning a string of text into an arraySallyjones [3-March-10 4:26PM] 12 posts |
|
|
If you want to turn a string into an array then you can also use a delimiter to do this with the explode function. | |
Next: Multiple Checkbox


