Using the explode function

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>”;
?>

LEAVE A REPLY

Please enter your comment!
Please enter your name here

*