$line = "A|c|d";list ($name, $occupation, $color) = explode ("|", $line);print "Name: $name ";print "Occupation: $occupation ";print "Favorite color: $color ";?>