View Single Post
Old 01-25-2008, 11:03 AM   #6 (permalink)
sketchMedia
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

PHP Code:
$seperated explode(',''124,366,697,125,123'); 
gives you an array of
Code:
 Array
(
    [0] => 124
    [1] => 366
    [2] => 697
    [3] => 125
    [4] => 123
)
explode, explodes an array at a given identifier, in this case ',' and essentially splits it up into an array
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote
The Following User Says Thank You to sketchMedia For This Useful Post:
Brook (01-25-2008)