Parse error: parse error, unexpected T_ECHO, expecting ',' or ';' in /home/content/d/o/m/domain/html/getdogs2.php on line 34
I got this error with this code and I don't know what it means. Here is the page's code.
<form action='editdogs.php' method='post' id='form' name='form'>
<?php
$con = mysql_connect("HOST","USER","PASS");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("tttbd", $con);
$result = mysql_query("SELECT * FROM addpup");
echo "<table border='1'>
<tr>
<th> </th>
<th>Name</th>
<th>Breed</th>
<th>Price</th>
<th>Description</th>
</tr>";
while($row = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td><input type='radio' id='pid' name='pid' value=" . $row['pid'] . "></td>";
echo "<td><input type='text' id='name' name='name' />" . $row['name'] . "</td>"; // this must be a text box if the user is going to edit the record
echo "<td><input type='text' id='breed' name='breed' />" . $row['breed'] . "</td>";
echo "<td><input type='text' id='price' name='price' />" . $row['price'] . "</td>";
echo "<td width=450><input type='textarea' id='description' name='description' />" . $row['description'] . "</td>";
echo "</tr>";
}
echo "</table>";
echo "<input type='submit' name='btnSubmit' id='btnSubmit' Value='Edit Selected Record' />;"
LINE 34 STARS HERE --> echo "<input type='submit' name='btnSubmit' id='btnSubmit' Value='Delete Selected Record' />;"
mysql_close($con);
?>
</form>