I have a page calledemp.php
in which i have the following code
<form action="emp-action" method="post" enctype="multipart/form-data">
include("conn.php");
$sud=$_SESSION['login_user'];
$sqlc=mysql_query("SELECT * FROM emp where un='".$sud."' ");
$countc=mysql_num_rows($sqlc);
if($countc<99)
{
include("inc-profile.php");
}
else
{
echo "SORRY !!!!you have posted more than 100 jobs";
}
</form>
now this is working properly and navigates to inc-profile
page according to condition
in inc-profile.php
page I have
<form action="include-action" method="post" enctype="multipart/form-data">
//some codes
</form>
But form action is not nvigating toinclude-action.php
page but navigating emp-action.php
page ..What might be the error
PLZ NOT I HAVE REMOVED .PHP
WITH HELP OF .HTACCES