hello to all...
i'm a beginner to mysql dan pdf..
example of code..
this is my code..acctually i want to display the query in pdf format.PHP Code:<?php
include("dbconnect.php");
$query = "select * from user";
$result = mysql_query($query);
while ($row = mysql_fetch_array($result)){
$name = $row["name"];
$address = $row["add"];
echo "<tr><td>$name</td><td>$address</td></tr>";
}
?>
i try to read from www.fpdf.org and other website, but i really can't understand at all.
can anyone give me a simple script to display a query result in pdf format.
thnx you....![]()



bob.kennedy
Bookmarks