I'm using the script at the link below:
http://www.ros.co.nz/pdf/user.php
I can get the pdf file to generate, but I'm having trouble figuring out how to get the mysql data to populate into the labels, the arrays, etc..
Here is the code I have so far:
<?php
## include the class
include ('class.label.inc');
## connect to the database
$host = 'localhost';
$user = 'myusername';
$password = 'mypassword';
$database = 'mydatabase';
$query = 'select * from employees';
//--------------------------------------------------
// open the connection to the db server