User Brach Interface in Php
<p>Hi this is my scenario and wanted to hear some other thoughts or recommendations.</p>

<p>So i have 2 users Branch Registrar and Branch Principal.
So what i am thinking is for example I'm a registrar of branch a i should only manipulate data of branch a and view data of branch a. This goes for Branch b and c also with Principal user.</p>

<p>What would be a good way to perform/do this. So far my idea is now i have  pages that are mixed from the 3 branches. Lets say Total pages i have now is 3 my planed course of action is to copy those 3 and create 3 pages exactly for each branch making a total of 9. and it will be such a nuisance to create many replicas of pages. Would appreciate any methods on how should i do this task efficiently and quicker. New with this and hope you guys understand.</p>

<p>EDIT: I am using php and mysql(not mysqli for the moment because i want to master mysql first)
   In my database i have the field "Branchname" so i might be able to use that. What i am searching for is a efficient way that the page would know if the user is on a specific branch. would Session suffice?</p>

<pre><code>   $_SESSION['branch'] = $get-&gt;Branchname;
</code></pre>
