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 systems[email protected] Link to comment https://forums.phpfreaks.com/topic/21219-email-php-page/ 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. Link to comment https://forums.phpfreaks.com/topic/21219-email-php-page/#findComment-94398 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.