PDF with PHP and MySQL

Hello,
should generate the following badge by taking data from Mysql:

  • Name
  • Surname
  • ID

SELECT name, surname, id FROM table_registered LIMIT 0 , 100

The above data (line of mysql) must be entered each time a new page.

Is possibile?

It’s for generate a single page with name, surname and ID for print a BADGE.

Sorry for my english isn’t very well

Take a look at http://fpdf.org for a library of PHP code that will make generating PDFs from your database easy.

Yes, I use tris library…

I have a problem, the example14 didn’t print a values in single page but all in one page

sounds like you may need to put in some kinda of loop that creates a new page at the beginning to each cycle?