0

While executing the code it shows syntax error, unexpected'<' .....why???

29th May 2018, 7:11 AM
rick bhattacharya
rick bhattacharya - avatar
7 Respuestas
+ 1
can‘t tell if you don‘t post your code
29th May 2018, 8:43 AM
Max
Max - avatar
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>
29th May 2018, 8:55 AM
rick bhattacharya
rick bhattacharya - avatar
0
for this one
29th May 2018, 8:56 AM
rick bhattacharya
rick bhattacharya - avatar
29th May 2018, 9:04 AM
Max
Max - avatar
0
but I want to include this in a PHP file so how do I do it
29th May 2018, 9:05 AM
rick bhattacharya
rick bhattacharya - avatar
0
ok thanks I get whAt was the problem
29th May 2018, 9:11 AM
rick bhattacharya
rick bhattacharya - avatar
0
you have to use echo
29th May 2018, 9:48 AM
Max
Max - avatar