title: PhP Mail script - Error generate 'FOR loop script' in the $message variable
body: <p>How do i add the php for loop script to generate the content on the email (pick up from Database) as highlighted below?</p>
  
  <pre><code>$message = "
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Your's Weekly Newsletter &lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;p&gt;Hi $to,&lt;/p&gt;
  &lt;p&gt;Here are the highlight of the deals this week:&lt;/p&gt; 
  &lt;br /&gt;
  
  &lt;p&gt;    **&lt;?php
     for ($i=0;$i&lt;=$totalCount;$i++) {
     echo \"Deal Description = $HighlightWeeklyNewsletter_array2[$i] &lt;br /&gt;\";
     echo \"Deal URL = &lt;a href=\"$HighlightWeeklyNewsletter_array3[$i]\"&gt; More &gt;&gt; $HighlightWeeklyNewsletter_array1[$i] &lt;/a&gt; &lt;br /&gt;\";
     echo \"Days Left = $HighlightWeeklyNewsletter_array4[$i] &lt;br /&gt;\";
  
     echo \" &lt;hr width=\"auto\" style=\"border: 1px dotted #000000\" size=\"1\"&gt; \";
     }
  ?&gt;**
  &lt;/p&gt;
  
  &lt;p&gt; &lt;u&gt;Forward this email&lt;/u&gt; to your friends/family and let them know you like this. &lt;/p&gt;
  &lt;br /&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  ";
  </code></pre>