0

Why am i coding and when i run a program i get errors like "unexpected < on line for example 2 and on the line there is <form>

Which kind of error is this?

5th Apr 2020, 8:32 PM
Yasini BIRATEGETSE
Yasini BIRATEGETSE - avatar
3 Answers
+ 2
According to the php code in your profile, you must close the php tag before writting html to output as is: <?php // php code ?> <!-- here's the php closing tag, and now start static html --> <input ...>
6th Apr 2020, 8:42 AM
visph
visph - avatar
+ 1
Maybe the error is on the line before that. Check what is before the error. Maybe you forgot to end something.
5th Apr 2020, 8:35 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar