1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

any body can help me???????

Discussion in 'MySQL' started by Irfi0009, Jan 26, 2012.

  1. #1
    hi all dp members

    i want to take data from mysql database and i want output from the table in pdf format m so worried anybody can help me????????
    e.g

    table name- > student

    Select * from student


    i want student information from student table in pdf format
    SEMrush
    how it can ? please help me

    thanks
     
    Irfi0009, Jan 26, 2012 IP
    SEMrush
  2. iama_gamer

    iama_gamer Active Member

    Messages:
    404
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #2
    There are PHP extensions and libraries that will be able to do this. You should first get the data to PHP then use a HTML to PDF converter to get the output as pdf. This link might be useful for you : http://www.sitepoint.com/generate-pdfs-php/
     
    iama_gamer, Jan 27, 2012 IP
  3. andyrobert877

    andyrobert877 Greenhorn

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    Yes,
    I also agree with iama..
     
    andyrobert877, Feb 8, 2012 IP
  4. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #4
    You can output a pdf file (which, to the user, will be an "open or save" selection if the user hasn't previously decided that all pdf files get saved or opened) very easily by using Pear's File_pdf.
     
    Rukbat, Feb 25, 2012 IP