I am trying to print list of articles from MYSQL but i keep getting error.
while($row = mysql_fetch_assoc($query)){
echo "<article class='post'>
<h2><a style='color:#43484d' href='' " .$row['url']. ";</a></h2>
<ul class='meta'>
<li><span>level :</span> <span style='color:red'>" .$row['Level']. " </span></li>
<li><span>Negative votes by visitors :</span> " .$row['negativeVotes']. "</li>
<li><span>Positive votes by visitors :</span>" .$row['positiveVotes']. "</li>
<li><span style='color:#000; cursor:pointer' class='fa fa-thumbs-o-up'></span></li>
<li><span style='color:#000; cursor:pointer' class='fa fa-thumbs-o-down'></span></li>
</ul>
</article>"
}
?>
I am getting this
Parse error: syntax error, unexpected '}', expecting ',' or ';'.
What i have done wrong? Thank a lot!