Installer wrote:You still don't have this block (the one I pointed out earlier) closed:
if (isset ($_POST['submit']) && $_POST['submit'] == 'find') ;
{
This is the one I picked out also with my editor
if (isset ($_POST['submit']) && $_POST['submit'] == 'find') ;
{
Never gets closed. So after all the other one line if statements and at the bottom of the page is where it needs to be closed, otherwise the error pointing past the end of the script because PHP is still looking for the closing brace and goes to the end and then reports that as where the problems is. So then you need
</td>
';
}
?>
</form>
this is my problem:- it is the last line of code that comes up with the Unexpected $ error
Usually an echo statement as well as any normal statement is closed when PHP sees a semicolon; not a '}' curly brace. You said
from research I have found that unexpected $ means there is an unclosed echo statement '}'. However I have not found one in my form. Is there anything else im doing wrong?
Probably your error states that it is beyond the last line of code as in after the ?> +1 line number. That means that you have a missing curly brace } and in this case it is from the first if statement. Installer pointed it out twice and so have I, oh well suit yourself, but that is your problem.