Re: [PHP] Re: convert a string into an array

2010-04-02 Thread Nilesh Govindarajan
On 04/03/10 04:56, Nathan Rixham wrote: Andre Polykanine wrote: Hello everyone, It's quite simple but I'm still stuck. What I need is the following: I have an array as a parameter of my custom function. However, I'd like to allow users to enter a string instead of an array. In this case (if the

[PHP] Re: convert a string into an array

2010-04-02 Thread Nathan Rixham
Andre Polykanine wrote: > Hello everyone, > > It's quite simple but I'm still stuck. > What I need is the following: I have an array as a parameter of my > custom function. However, I'd like to allow users to enter a string > instead of an array. In this case (if the parameter is a string), it > m