title: Read More in php
body: <p>i try to make read more option for my work and i create this code :</p>
  
  <pre><code>&lt;?php
        $string=$polnews['articale']; 
      if (strlen($string) &gt; 500) {
  
          // truncate string
          $stringCut = substr($string, 0, 500);
  
          // make sure it ends in a word so assassinate doesn't become ass...
          $string = substr($stringCut, 0, strrpos($stringCut, ' ')).'... &lt;a href="view_articles.php?aid=$polnews[aid]"&gt;Read More&lt;/a&gt;'; 
      }
      echo $string;?&gt; 
  </code></pre>
  
  <p>but the link not working.</p>