note
Riales
<p>Put this between your two <code>for</code> loops:</p>
<code>
$main_list2 = '';
</code>
<p>But seeing as you have have a <code>$main_list2</code>, why don't you use <code>$main_list1</code> in the first <code>for</code> loop instead?</p>
<p>Also, probably want to have a <code>"\n"</code> between your titles:</p>
<code>
$main_list2 .= "$title\n";
</code>
963339
963344