在同一页面上提交数据[关闭]

I am trying to submit the data in the same page.But it is not entering into the if statement.

so i made the form simple to test, but still its not happening. somebody please tell me where i am doing wrong.

When i hit Submit, it shows all the data in URL like this instead of printing "hello"

http://domainname/student_system/stud_attendance_report.php?stud_name=KUMAR+RAI&enroll_no=1993%2FVII%2FB%2F2003-2004%2F0&class=&section=&submit=Search

here is my form

<?php
include ("header.php");
if(isset($_POST['submit']))
{
    echo "hello";
}
?>
<div id="container">

<form metohod="post" action="">
<input type="text" id="stud_name" name="stud_name" />
<input type="text" id="enroll_no" name="enroll_no" />
<input type="text" id="class" name="class" />
<input type="text" id="section" name="section" />
<input type="submit" name="submit" value="Search" />
</form>

</div>

You spelled method wrong:

<form metohod="post" action="">

should be

<form method="post" action="">