If I understand you correctly, you could achieve this effect in two ways: one is via CSS/JavaScript and the other is via PHP.
In CSS, you could employ the visibility:hidden/visible together with a conditional JavaScript statement. In PHP, you could just use "IF" and "include". I do not intend to go into details of how it should be done. But I just wish to tell you that it is possible. Google it up, I'm sure you'll find what you need.
Good luck!
