title: Unordered list in Php/HTML
body: <p>I am trying to make it so that asterisks in my string denote list elements in an unordered list.</p>
  
  <pre><code>    $first_char = substr($p,0,1);
      if($first_char == '*'){
          $p = '&lt;ul&gt;' . $p . '&lt;/li&gt;&lt;/ul&gt;';
          $p = str_replace('*' , '&lt;li&gt;',$p);
          $p = str_replace('\n' , '&lt;/li&gt;',$p);
      }
  </code></pre>
  
  <p>However, if this makes it so that no asterisks can be used as content in the list elements. Is there any way to change this?</p>