list and explode : list : Development PHP Source Code


PHP Source Code » Development » list »

 

list and explode



<?php
$line = "A|c|d";

list ($name, $occupation, $color= explode ("|", $line);

print "Name: $name <br />";
print "Occupation: $occupation <br />";

print "Favorite color: $color <br />";
?>

           
       



HTML code for linking to this page:

    Related in same category :
Follow Navioo On Twitter

PHP Source Code

 Navioo Development
» list