How to display partial text from a MySQL column in PHP : <p>I have this table <code>plans</code></p>

<pre><code>id| plan_name| description
1 | basic    | Good plan for startups &lt;br&gt;
               Excellent quality &lt;br&gt;
               Lorem ipsum Lorem
</code></pre>

<p>I would like to <code>echo</code> only the first two lines from the <code>description</code> column using a query in PHP.</p>

<p><strong>Query</strong></p>

<pre><code>  $getuserplaninfo=mysqli_query($db, "SELECT * FROM plans WHERE membershipID='$userplanID'");
  $userplaninforesults=mysqli_fetch_assoc($getuserplaninfo);
  $userplaninfo=$userplaninforesults['description'];
  echo $userplaninfo;
</code></pre>

<p><strong>Results should be</strong></p>

<pre><code>Good plan for startups
Excellent quality
</code></pre>
