Dynamically Create Page

Hello,

I'm wondering if anyone has any sample code for creating a page in wordpress from code?

Thanks,

Andrew