Get PDF data from MySql database using PHP / JAVA

I am working on a project that is supposed to get data from MySql database in PDF format.

Can anyone explain how I can solve this problem?

I check the internet for a solution, but I found that I can create a PDF form and get the data from the database into the PDF form. My requirement:

  • I have a PDF form on the server
  • I need to open this PDF form (using the graphical interface)
  • Get a student record (student ID, FNAME, LNAME, etc.) from the database and fill out in PDF format.

I need to make it work on several platforms (so the ADO solution will not work as soon as for windows)

I ask you to notify

Viral

+3
source share
1 answer

One suggestion using HTML and Java: http://www.javaworld.com/javaworld/jw-04-2006/jw-0410-html.html

Here is another option for converting from Java to PDF: http://www.icesoft.com/products/icepdf.html

Both of them use open source software. There are many other commercial libraries for this.

+1
source

Source: https://habr.com/ru/post/1759700/


All Articles