0
While executing the code it shows syntax error, unexpected'<' .....why???
7 Answers
+ 1
canât tell if you donât post your code
0
<form action="first.php" method="post">
<p>Name: <input type="text" name="name" /></p>
<p>Age: <input type="text" name="age" /></p>
<p><input type="submit" name="submit" value="Submit" /></p>
</form>
0
for this one
0
works fine for me https://code.sololearn.com/W909uQ4IGBus/?ref=app
0
but I want to include this in a PHP file so how do I do it
0
ok thanks I get whAt was the problem
0
you have to use echo