bpat1434 wrote:You need to terminate the command prior to the erroring line. You don't finish the statement "mysql_close()" with a semicolon.
Actually, this is technically incorrect.
While good coding practice says to terminate all commands with a semicolon, PHP's final '?>' tag also acts as a semicolon itself. Example, the following code has no syntax errors/warnings/notices:
<?php
echo "Hello world!";
echo "...goodbye, world!"
?>
EDIT: Also, a note about your HTML:
HTML attributes must be delimited by double or single quotes - not 'curly' quotes. So, the following HTML is invalid:
<b>Number to Query:</b> <input type=”text” name=”phone” id=”phone” />
and should instead be:
<b>Number to Query:</b> <input type="text" name="phone" id="phone" />
Notice how the syntax highlighter points out the difference?