How to create pdf file with mysql data?
问题 Can anyone give me simple example, how to create pdf file with mysql data? Im using fpdf http://www.fpdf.org/ for pdf creation. I want to print these data: $result = mysql_query("SELECT Name, Profesion, Email FROM customers") or die(mysql_error()); if(mysql_num_rows($result) > 0) { while($row = mysql_fetch_assoc($result)) { echo ' <td width="200px">'.$row['Name'].'</td> <td width="200px">'.$row['Profesion'].'</td> <td> width="200px">'.$row['Email'].'</td>'; } } 回答1: Have you looked at the