an explode function example

an explode function example

Using the explode function

<?
$csvcontent = "php,asp,javascript";
$csvcontent = explode(",", $csvcontent);
echo "1= " . $csvcontent['0'] . "<br>";
echo "2= " . $csvcontent['1'] . "<br>";
echo "3= " . $csvcontent['2'] . "<br>";
?>