Form not sending data via POST
<p>I have this code (it's an include), but the thing is that when I send the form the $_POST data is not being sent.
Im checking for $_POST data like this</p>

<pre><code>if(isset($_POST['ft_upload']) &amp;&amp; $_POST['ft_upload'] == 1){
    //$usuario -&gt; uploadFirstTime2($db);
    echo "ok";
}   
</code></pre>

<p>and the code for the form is</p>

<pre><code>&lt;div class="ft_userImage" style="background: url(&lt;?php echo $usuario -&gt; getProfileImage(); ?&gt;);"&gt;&lt;/div&gt;


&lt;p class="ft_step2_continue"&gt;&lt;?=$TEXT_BUTTONS['continue'];?&gt;&lt;/p&gt;

&lt;form action="" method="POST" class="ft_step2_form_upload"&gt;
    &lt;input type="hidden" name="ft_upload" value="1" /&gt;
&lt;/form&gt;

&lt;script&gt;
    $("p.ft_step2_continue").click(function(){
        $(".ft_step2_form_upload").submit();
    });
&lt;/script&gt;
</code></pre>