PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
winsonlee
Forum Commoner
Posts: 76 Joined: Thu Dec 11, 2003 8:49 pm
Post
by winsonlee » Wed Aug 03, 2005 12:11 pm
lets say i hav a string "abc,def,ghi"
how can i split this string and store it in an array eg
array1 = abc
array2 = def
array3 = ghi
timvw
DevNet Master
Posts: 4897 Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium
Post
by timvw » Wed Aug 03, 2005 12:13 pm
nielsene
DevNet Resident
Posts: 1834 Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA
Post
by nielsene » Wed Aug 03, 2005 12:21 pm
actually I think you meant explode...
timvw
DevNet Master
Posts: 4897 Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium
Post
by timvw » Wed Aug 03, 2005 12:29 pm
You're right... but the OP would have found that when he look at the implode page