Hi! I'm not quite sure if I got you right, but if you want a simple button to print the current web-page use the browsers built-in printing function. Just link to javascript:window.print(); to bring up the printing dialogue. Is this a simple html-table, or is it something special? Or render it into a PDF File ... Hope that helps! Greets, Jan -----Original Message----- From: Vanessa Vega [mailto:vanessa@xxxxxxxxxxxxxxxxxxx] Sent: Wednesday, August 22, 2007 8:09 AM To: php-general@xxxxxxxxxxxxx Subject: export data of html table helloo.. i have a table generated using PHP & javascript...the data on that table came from a form where several data was inputted... I want to let them see a preview of the data they entered, so i put a link or button that when clicked, will display all the data in the table and they will also have an option to print them. Is there a way to easily do this? does it really need exporting data to another application like excel in order to print it? please give me some advice...thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php