To elaborate a bit:
PHP is just a tool for writing HTML dynamically (on the fly), by outputting different HTML when different logical conditions are met.
"Different pages" are really just different arrangements of HTML.
So, as bogu illustrates, you just need to write your PHP in such a way that different HTML is produced under different conditions.
The particulars vary widely depending on what you're trying to accomplish, but this is the basic principle.