Sub-domains & calling unique content

Posted on 16th Feb 2014 by admin

Hello,

Is there a way use something similar to the $_GET function for a sub-domain? I to be able to have my sub-domains all use the root directory, but have information filtered for a specific sub-domain.

So, if I have list A in MySQL database, which has
a.1
a.2
a.3
a.4

but I only want a.1 & a.4 to show up in sub-domain 1, and a.2 to show up in sub-domain 3, but they all need to be accessing the same root files, how do I achieve this?

Other forums