I'm getting an error which says:
Parse error: syntax error, unexpected $end in /home/Jones/public_html/Assignment4/listCar.php on line 38
However, there is nothing on line 38.. Thanks
$sql = "SELECT * FROM CARS";
//Get the result set
$result = mysql_query($sql);
//Show the result using while statement and a html table tag
?>
<table border =1>
<tr>
<td> ID </td>
<td> Make </td>
<td> Model </td>
<td> Year </td>
<td> Mileage </td>
<td> First Name </td>
<td> Last Name </td>
<td> Email </td>
</tr>
<?php
while($row = mysql_fetch_array($result)){
echo $row ['ID'];
echo $row['MAKE'];
echo $row['MODEL'];
echo $row[YEAR];
echo $row[MILE];
echo $row['FNAME'];
echo $row['LNAME'];
echo $row['EMAIL'];
?>
}
</html>