http://www.php.net/manual/en/function.explode.php
explode on the comma...
you could use while loop and variable variables to take care of the
naming...
-jack
Jacky wrote:
>
> I got series of string value like this 1,2,3. And the seires are dynamaic, which
>means it is not always 1,2,3 but could be more, but always in this format that is
>separated by "," .
> How do I pick each of value in the series and assign it into new vairiable, like
>from:
> $test = 1,2,3;
> and assign to be
> $test =1;
> $test1=2;
> $test2 =3;
> Is theer any function that could help me with that? because I need to update table
>using those value but I cannot use series of value to update, have to break them down
>to each variable like that.
> Jack
> [EMAIL PROTECTED]
> "There is nothing more rewarding than reaching the goal you set for yourself"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]