string striping question


hi
i have a bunch of values like
$a = 1/2/4
$b = 12/12/4
$c = 12/4/4
$d = 4/12/4
what i would like to do is to get rid of the "/" and store each number in between them. so for the first one
$var1 = 1;
$var2 = 2;
$var3 = 4;
and for number 2
$var1 = 12;
$var2 = 12;
$var3 = 4;
im not sure what function i can use exaclty that will do this any help would be great
Posted On: Wednesday 24th of October 2012 12:32:15 AM Total Views:  354
View Complete with Replies

RELATED TOPICS OF PHP PROGRAMMING LANGUAGE