以下代码给了我错误。.
<?php
global $ConnectingDB;
$ViewQuery="SELECT * FROM category";
$Execute=mysqli_query($Connection,"$ViewQuery")
while($DataRows=mysqli_fetch_array($Execute)){
$Id=$DataRows["id"];
$DateTime=$DataRows["datetime"];
$CategoryName=$DataRows["name"];
$CreatorName=$DataRows["creatorname"];
?>
<tr>
<td><?php echo $Id; ?></td>
<td><?php echo $DateTime; ?></td>
<td><?php echo $CategoryName; ?></td>
<td><?php echo $CreatorName; ?></td>
</tr>
<?php } ?>
解析错误:语法错误,第120行的C:\ xampp \ htdocs \ new \ categories.php中出现意外的'$ Test'(T_VARIABLE)