i know i knwo i am an idoit .... but i can seem to find out how to start this... i'm having a memory block...
anyway i have a $var and it contains different values like so...
$var = "stuff,i,we,world";
and as you can see each valuse is separated by a comma ... so i wanted to know how i can separate each of those values into an array....
stupid memory block.
separating.
Moderator: General Moderators
- cheatboy00
- Forum Contributor
- Posts: 151
- Joined: Sat Jun 29, 2002 10:36 am
- Location: canada
- Contact:
II. Array Functions -> explode->
Code: Select all
$var = "stuff,i,we,world";
$arr = explode(',', $var);- cheatboy00
- Forum Contributor
- Posts: 151
- Joined: Sat Jun 29, 2002 10:36 am
- Location: canada
- Contact: