$mail = include("mail.php");
$request = include("request.php");
echo'<div id="tabs">
<ul dir="rtl">
<li><a href="#tabs-1">mail</a></li>
<li><a href="#tabs-2">requests</a></li>
<li><a href="#tabs-3">3</a></li>
<li><a href="#tabs-4">4</a></li>
<li><a href="#tabs-5">5</a></li>
<li><a href="#tabs-6">6</a></li>
<li><a href="#tabs-7">7</a></li>
<li style="float:left;"><a href="#tabs-8">profile</a></li></ul>
<div id="tabs-1">'.$mail.'
</div>
<div id="tabs-2">'.$request.'
</div>
</div>';
here the content load outside the tabs even if I use include inside the correct div id related to tabs link.the other way is to use links only like this:
echo'<div id="tabs"> <ul dir="rtl"> <li><a href="mail.php">mail</a></li> <li><a href="request.php">requests</a></li> <li><a href="#tabs-3">3</a></li> <li><a href="#tabs-4">4</a></li> <li><a href="#tabs-5">5</a></li> <li><a href="#tabs-6">6</a></li> <li><a href="#tabs-7">7</a></li> <li style="float:left;"><a href="#tabs-8">profile</a></li> </ul>' ;
here all contents load inside tabs but doesn't allow the mail or request php files to work correctly if there dynamic contents like forms or mail functions.
so I hope if someone could help me to include this two files inside tabs and make everything work or just tell me where is my missing part here or what I should do if I have to receive $_POST['']; related to my contents inside tabs.
if you need any more explanation or code related just ask and hope to provide everything you needed just I don't know easy way to handle this one.











