Input data Guestbook PHP
<p>Im trying to create a guestbook with mysql database. I have no trouble display the sql data on my form. </p>

<p>But when im trying to input data my send button dosent work. I think the problem is in this code, but I cant find it. and have done the tutorial a couple of times.</p>

<p>I dont have any error messages. But this is some of the code. 
thanks </p>

<pre><code>&lt;?php

if(isset($_GET['page'])){


    echo "

    &lt;form action='guest_process.php' method='post'&gt;

&lt;p&gt;Name: &lt;input type='text' name='name'&gt; &lt;/p&gt;
&lt;p&gt;Email: &lt;input type='text' name='email'&gt; &lt;/p&gt;
&lt;p&gt;Comment: &lt;/p&gt;
    &lt;p&gt;&lt;textarea name='comment'&gt;&lt;/textarea&gt;&lt;/p&gt;
    &lt;hr /&gt;
    &lt;p&gt;&lt;input type='button' name='submit' value='Post Entry'&gt;&lt;/p&gt;


    &lt;/form&gt;

    ";





    }else{

$connect = mysql_connect('localhost','root','') or die ('Couldnt connet');
$db = mysql_select_db('guestbook');

$query = mysql_query('select * from guestbook order by id desc');
$num_rows = mysql_num_rows($query);

if($num_rows &gt; 0){

    //display entries
    while($row = mysql_fetch_assoc($query)){
        echo "
        &lt;p&gt;
        &lt;b&gt;Name: &lt;/b&gt;".$row['name']."

        &lt;/p&gt;

        &lt;p&gt;
        &lt;b&gt;Email: &lt;/b&gt;".$row['email']."

        &lt;/p&gt;

        &lt;p&gt;
        &lt;b&gt;Comment: &lt;/b&gt;".$row['comment']."
        &lt;/p&gt;

        &lt;p&gt;
        &lt;b&gt;Date: &lt;/b&gt;".$row['date']." | Time: ".$row['time']."
        &lt;/p&gt;
        &lt;hr /&gt;
        ";


        }


    } else{

        echo 'no entries in database';
        }

    }

?&gt;
</code></pre>

<p>The guestbook is seperated in two php files.
This is the other page the guest_process.php</p>

<pre><code>&lt;?php

if($_post['submit']){

$connect = mysql_connect('localhost','root','') or die ('Couldnt connet');
$db = mysql_select_db('guestbook');

$name = strip_tags($_POST['name']);
$email = strip_tags($_POST['email']);
$comment = n12br($_POST['comment']);
$date = date('Y-m-d');
$time = date('H:i:s');

$query = mysql_query("insert into guestbook values('','$name','$email','$comment','$date','$time')");

header('Location: index.php');


}else { 
header ('Location: index.php');

}
?&gt;
</code></pre>
