-4

Parse error: syntax error, unexpected '<' in N:\ftp\compc\ac12mm\Practical 3 Files\myContacts.php on line 102

Any Idea what would be wrong with this please? Please help this is really fustrating me, Im not very good at php

1 Answers1

1

You cannot include HTML Code directly in your PHP code.

To fix, you must use a command like echo, print(), or break from your PHP Code. This would require a PHP end block:

} else {
?>
<TD>

Or:

} else {
    echo "<TD>";

See more: http://php.net/manual/en/tutorial.firstpage.php

Twisty
  • 30,304
  • 2
  • 26
  • 45