I'm planning on having a website where the links aren't set HTML pages (ex. mypage.com/contact\_me.html) but dynamic (profile.php?uid=32320&mode=2).

How can I get Google to index a website like this, so that every profile (much like facebook has done) is indexed separately on google? 

Thanks!