Erin <mailto:[EMAIL PROTECTED]>
    on Wednesday, November 12, 2003 9:13 AM said:

> 734088+3+734132+9+734138+80+781007+1+
> 
> I need to place the string into a multi-array like so
> 
> array[0][0] = 734088
> array[0][1] = 3
[snip]
> Now ive tried everything i know any ideas?

Yes. You need to somehow differentiate between the different columns and
rows. What I suggest you do is change every other + to something else
like a ; and then split on that.

Without knowing any other way to do this I would use a regex to skip the
first + and change second one, repeating this until the end of the
string.

Then you can explode() on + and ;.


hth,
Chris.
--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to