PHP: message box in the same page
I have a form called orderform. now i want to order the equipment. after i ordered the things, the details are stored in the database, and the mail will sent to the server. i got the above mentioned processes. but it goes to the another page. I want all these process should be done with in the same page. that means after i hit the submit button  the mail send to the server and the data store in the database and a message box will display with in the same page that contains the details with the order. could u pls help me? 
regards, 
vinoth
PHP: message box in the same page
===

I have a form called orderform. now i want to order the equipment. after i ordered the things, the details are stored in the database, and the mail will sent to the server. i got the above mentioned processes. but it goes to the another page. I want all these process should be done with in the same page. that means after i hit the submit button  the mail send to the server and the data store in the database and a message box will display with in the same page that contains the details with the order. could u pls help me? 
regards, 
vinoth