Okay, let's see if I understand the challenge properly. You have 24 (separate) questions on a page. And you would like to show two of those.
I guess you already have a random generator with all 24 question IDs. And you probabaly set the random generator to draw two codes per interview?
What is the PHP code that you used so far that displayed only one question?