我收到此错误: 解析错误:语法错误,第7行的C:\ xampp \ htdocs \ playdatabaseswd \ 1.php中出现意外的'$ row'(T_VARIABLE)
<?php
$con=mysqli_connect("localhost","root","param2000","csv_db");
$result=mysqli_query($con,"SELECT SUM(finalfee) AS answer from feedemand")or die("Failed to take answers from database".mysqli_error($con));
$row=mysqli_fetch_array($result);
print_r($row);
$answer="Final answer :"$row.['answer'];
echo $answer;
?>