Re: [PHP] Split command problem

2005-04-11 Thread Prathaban Mookiah
I guess you are trying to create an array by the name 'name' and assign two elements to it by calling name($fname, $lname). Am I correct? I think it does not work that way. Try list($fname, $lname) = .. Then the variable $fname and $lname will contain the first and last names. list($fname, $

Re: [PHP] Split command problem

2005-04-10 Thread Jason Wong
On Monday 11 April 2005 09:27, Russ wrote: > I have been trying to get the following code working. I keep getting an > error on line nine. And the error is? > It looks simular to the example in the PHP online > manual. If I substitute a print command for line nine I get the correct > information

Re: [PHP] Split command problem

2005-04-10 Thread Greg Donald
On Apr 10, 2005 8:27 PM, Russ <[EMAIL PROTECTED]> wrote: > I have been trying to get the following code working. I keep getting an error > on line nine. It looks simular to the example in the PHP online manual. If I > substitute a print command for line nine I get the correct information from > $_P