Last active
August 29, 2015 14:15
-
-
Save foxydot/fa10c980eef91338bc25 to your computer and use it in GitHub Desktop.
quick cheat to get text list into format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$list = explode("\n",'test | |
list | |
here'); | |
foreach($list AS $l){ | |
$ret .= ' | |
<li><i class="fa-li fa fa-angle-right"></i>'.$l.'</li>'; | |
} | |
ts_data($ret); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment