Jump to content


send mysql table to printer

  • Please log in to reply
2 replies to this topic

#1 bryanptcs

  • Members
  • PipPipPip
  • Advanced Member
  • 49 posts

Posted 15 January 2007 - 07:59 PM

Is there any kind of code/function that will send a table from my db to the printer?

#2 Psycho

  • Moderators
  • Advanced Member
  • 11,838 posts
  • LocationCanada

Posted 15 January 2007 - 08:17 PM

Directly? Not that I know of. You would need to do a query for the records you want and format it into an HTML page or into an export file (txt, excel, etc.). If you have phpmyadmin you can easily export the data from a table into a few different formats that can be easily printed. Otherwise, creating your own script would be very easy to do.
The quality of the responses received is directly proportional to the quality of the question asked.

I do not always test the code I provide, so there may be some syntax errors. In 99% of all cases I found the solution to your problem here: http://www.php.net

#3 charlieholder

  • Members
  • PipPipPip
  • Advanced Member
  • 1,419 posts
  • LocationAtlanta, GA

Posted 15 January 2007 - 08:20 PM


PHP Manual | MySQL Reserved Words

Please mark TOPIC SOLVED when you've reached a solution.
Adding [code][/code] tags around your code increases your chances of receiving help.

I don't always test the code I write.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users