i created index.php file ,and i created form in abc.php,when i enter the url path like “index.php/type=abc” the form file i.e abc.php file has to be executed.how can i do this.
my index.php file is
<?php include_once('header.php')?>
<div id="content">
<div class="min-width">
<ul id="navmenu">
<li><a href="tel:+254 0725117848" ><div class="button">CALL IPAIDABRIBE </div></a></li>
<li><a href="new.php" ><div class="button">new</div></a></li>
<li><a href="what.php" ><div class="button">what new</div></a></li>
<li><a href="how.php"><div class="button">how</div></a></li>
</ul>
</div>
</div>
<?php include_once('footer.php')?>
abc.php code is
<form action=" " method="post" id="contact-mail-page">
<div><div class="dealer-page">
<h2>Interested in becoming a dealer, retailer or a part of our affiliate program for Picture Keeper? Please type in your
information below and then click submit. You will be contacted within 48 hours.</p><br/>
</h2>
</div>
<div class="review">
<div class="form-item" id="edit-name-wrapper">
<label for="edit-name">Bussiness Name <span class="form-required" title="This field is required.">*</span></label><br />
<input type="text" maxlength="255" name="name" id="edit-name" size="30" value="" class="form-text required input">
</div>
<div class="form-item" id="edit-name-wrapper">
<label for="edit-name">Contact Name </label><br />
<input type="text" maxlength="255" name="cname" id="edit-cname" size="30" value="" class="form-text required input">
</div>
<div class="form-item" id="edit-name-wrapper">
<label for="edit-add">Address <span class="form-required" title="This field is required.">*</span></label><br />
<input type="text" maxlength="255" name="add" id="add" size="200" value="" class="form-text required input">
</div>
<div class="form-item" id="edit-name-wrapper">
<label for="add1">Address1 <span class="form-required" title="This field is required.">*</span></label><br />
<input type="text" maxlength="255" name="add1" id="add1" size="200" value="" class="form-text required input">
</div><br/>
<input class="dealer-submit" type="submit" value="Submit">
</div></form>
now here when i type the url path like “index.php?type=abc” . this abc.php file has to be executed.how can i do this?
can anyone help me
What exactly do you want?If you want while the index.php?type=abc Url was intered, you Redirected to your Desired Page add this code above the index.php file.