i have two submit buttons in one form.
one is view and other is print.
these two buttons has only one action in the form.
both of them will go to another same page.
but,how can i make it when i click view, the next page will be shown,
when i click print, how can i print the next page
without showing that next page???
i mean when i click a 'PRINT' button from the current page,
the next page will automatically print without showing it.
i need this because, the next page is confidential
so when i click the print button, i can't see the next page.
the contents of the next page will be based on the query from
the database.
im using php, mysql..
tnx.