Issues with "Read More" feature of my website
<p>I need your help with doing a Read More feature for my website. Contents that the Read More feature will be applied on are generated dynamically. When I implement it, and I click the Read More...i'm taken to the same page and the full article dosent show.</p>

<p>Please how can I fix this.</p>

<p>Thank you.</p>

<pre><code>&lt;?php

$row['article_content'];

if (strlen($row['article_content']) &gt; 500) {
  $shortText = substr($row['article_content'], 0, 100);
    $shortText .= '... &lt;a href="site/article.php?id=' . $id . '"&gt;Read More&lt;/a&gt;
 echo $shortText;
</code></pre>

<p>}
     ?></p>
