first commit

This commit is contained in:
dev-chiefworks
2022-05-31 16:21:53 -04:00
commit f76abffdcd
5978 changed files with 1078901 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
$alias_string = "AA,BB,CC,";
$alias_extra = "";
if (strlen($alias_string) > 0) {
$pieces = explode(",", $alias_string);
$count_item = count($pieces);
for ($ii = 0; $ii < $count_item; $ii++) {
$this_element = trim(strtolower($pieces[$ii]));
if (strlen($this_element) > 0) {
$itm_str = "'" . $this_element . "'";
if ($ii > 0) {
$alias_extra .= ",";
}
$alias_extra .= $itm_str;
}
}
}
echo $alias_extra;