php - I'm receiving a syntax error which I can't understand in form -


i've written code can create form, there error can't understand.

my code

<html> <head> <body> <?php include("menu_admin.php"); ?> <div style="clear:both"> <form action="edit.php" method="post" style="margin-left:502px">  <table > <tr> <td>name</td> <td><input type="text" name="name"  /></td> </tr>     <tr> <td>age</td> <td><input type="text" name="age"  /></td> </tr>   <tr> <td>phone no</td> <td><input type="text" name="phonenum"  /></td> </tr> <!--value="  echo $phonenum; " size="30"-->  <tr> <td>date</td> <td><input type="text" name="date"  /></td> </tr>  <tr> <td>e-mail</td> <td><input type="text" name="email"  /></td> </tr>      <tr> <td>address</td> <td><input type="text" name="address" /></td> </tr>   <tr> <td></td> <td><input type="submit" name="submit" value="submit"  /></td> </tr>   </table>  </form>  </div> </body> </head> </html> 

error

parse error: syntax error, unexpected end of file in c:\xampp\htdocs\srk\admin\manage.php on line 103 

the line compiler pointing last line, end program </html> tag.

can solve problem?

the problem php error, php in code you've provided include.

you find in menu_admin.php there closing brace missing. if lint check menu_admin.php should locate error better. unclosed { somewhere.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -