delmardata Posted September 19, 2006 Share Posted September 19, 2006 I have a shopping cart application that creates an order from the cart. When the user 'confirms', the order header record (one) and order detail records (many) are created. A 'printer friendly' page is generated for the user to print a copy of the order. I would like the ability to email this page. In my past programming world I could print the page to a text file. Then I could use something like the php mail function mail($to, $subject, $message); where $message is the text file. Is it possible to email a page under the circumstances I describe? Is there a PHP command to print to a file instead of print to printer? Or is there some simple way to do this?Dennisdel mar data systemsdennis@windowareaccounting.net Quote Link to comment Share on other sites More sharing options...
redarrow Posted September 19, 2006 Share Posted September 19, 2006 do you use a database or files?post your current code that generates the printer page. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.