<?php
 
/**
* Split String into Array
*
* This script demonstrates how to split a string using a delimiter and store it in an array.
* 
* @author       Blaze Script
* @website      https://blazescript.com
* @date         January 2019
*/
 
// String to convert to array
$languages = "HTML,CSS,JavaScript,PHP,SQL,Java,ASP";

// Array
$language_list = explode ( ",", $languages);
 
// Display each array element
foreach ($lanugage_list_as $language) {
   echo $language."<br>";
}
 
?>