I need to submit a form to put username and password into my database, then i need to redirect the user to a paypal button I have created.

I can only think to redirect with the header() command but how can I POST variables to the new page?