SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Nov 2005
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    help me with php, mysql dan pdf

    hello to all...

    i'm a beginner to mysql dan pdf..
    example of code..

    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>";

    }
    ?>
    this is my code..acctually i want to display the query in pdf format.
    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....

  2. #2
    SitePoint Member
    Join Date
    Nov 2005
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    still no solution......

  3. #3
    SitePoint Addict bkennedy's Avatar
    Join Date
    Aug 2004
    Location
    michigan
    Posts
    251
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here's a good place to start.
    http://www.sitepoint.com/article/generate-pdfs-php
    I haven't read it all myself, but SP articles are usually very helpful.
    ----------------
    bob.kennedy
    ----------------


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •