PHP - syntax error, unexpected T_CONSTANT_ENCAPSED_STRING
<p>I am very new to PHP and have no idea why this is happening, I have looked at other online items, however I just cannot seem to see why I am getting this error.</p>

<pre><code>&lt;?php
include_once('assets/libs/posicloud/posicloud.php');

    $cloud=new posicloud();
    $out='';
    foreach ($cloud-&gt;list_templates() as $key=&gt;$template)
    {
$out.='&lt;option value=''.$key.'"&gt;'.$value["name"].';
    }
  return $out;
?&gt;
</code></pre>

<p>Thankyou for any help!</p>
