How to display data from database into PDF pages | PHP FPDF Tutorial #4

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • welcome to the fourth chapter of PHP FPDF tutorial series.
    in this chapter, i'm about to demonstrate how to put data from database into PDF.
    and how to represent data in printable PDF pages.
    in this tutorial, we will utilize header and footer from previous chapter.
    and we will also learn how to set page break, deal with overflowing content.
    i have prepared some random dummy data which contain list of clients with phone, email, and address.
    the data is stored in mysql table in database.
    in order to trigger page break, we need a lot of data, so here i've prepared 200 of them.
    Source code : bit.ly/3hYdT0F
    More tutorial on this series : goo.gl/TNqTN4 (PHP PDF Tutorial Series)
    Subtitle:English, Indonesia

Комментарии • 185

  • @bec2800
    @bec2800 5 лет назад

    hai, I was try it in my online database,, but not showing anything / blank page in result. help me please..

  • @faizanzubair5919
    @faizanzubair5919 6 лет назад

    Hey, I designed a form and I'm getting the results in my email..
    but is there any possibility that i can get the results in PDF form ? as an attachment in my mail?

  • @joshuaolushola9780
    @joshuaolushola9780 2 года назад

    What I am trying to figure out is why all the tutorial must be about table. If I am generating a pdf then it is most likely I don't want anything call table in it.

  • @TheCandace018
    @TheCandace018 6 лет назад

    Love this tutorial. Thank you!

  • @mithunchandrasaha403
    @mithunchandrasaha403 Год назад

    Nice Explanation,Sir.Needs More.

  • @dahiruonlinetv5276
    @dahiruonlinetv5276 4 года назад

    Please how to add page 1 is in landscape while the second is in portrait

  • @fernandomendesvasco-develo1678
    @fernandomendesvasco-develo1678 4 года назад

    Thanks a lot man. God bless you

  • @dontbeafraid5313
    @dontbeafraid5313 5 лет назад

    How about the video getting data from pdf to mysql and making a report.?

  • @somebodynobody99
    @somebodynobody99 7 лет назад

    Can we also have the header updated from the database.Can you tell me how ??

  • @salimsheikh3746
    @salimsheikh3746 2 года назад

    Thanks. It has worked.

  • @kriziacarissepangan1590
    @kriziacarissepangan1590 2 месяца назад

    Thanks! Shalom!

  • @kgmmaster1341
    @kgmmaster1341 5 лет назад

    Thank you.

  • @iwanyahya2214
    @iwanyahya2214 3 года назад

    how to use If else in FPDF?

  • @alivargas6364
    @alivargas6364 7 лет назад

    OMG!!!!! AMAZING

  • @GregoryLewis1
    @GregoryLewis1 7 лет назад

    Excellent.

  • @anotheruser3960
    @anotheruser3960 4 года назад

    This video is great! The link for the source code is bad. Can you post the code here?

  • @melakuwondemagegne3873
    @melakuwondemagegne3873 3 года назад

    well done excellent

  • @hodibsoft1593
    @hodibsoft1593 3 года назад

    How convert. Number. To letters

  • @bidyutpal557
    @bidyutpal557 6 лет назад

    Thank you ..

  • @dontbeafraid5313
    @dontbeafraid5313 5 лет назад

    Cam send me the code so i can learn and analyze it? Thanks

  • @billybranford7547
    @billybranford7547 6 лет назад

    how to do this with code igniter? thanks

  • @jeewakaaluthgamahewage9978
    @jeewakaaluthgamahewage9978 6 лет назад

    can you send me the code please.

  • @knzamy
    @knzamy 5 лет назад

    can you make tutorial to display data to make bulk certificate

  • @Hades2023
    @Hades2023 7 лет назад

    Gemul please can you make a tutorial about text wrapping using FPDF MultiCell, PHP and Database. You said in the next chapter you will teach how to fix it...

    • @Hades2023
      @Hades2023 7 лет назад

      nc nc thank you in advance!

    • @Hades2023
      @Hades2023 7 лет назад

      nc thanks!!

  • @rogeliomasangkay8757
    @rogeliomasangkay8757 6 лет назад

    hi. tnx for your tutorial. Can i have the code pls. thank you

  • @nicoandregestiada180
    @nicoandregestiada180 6 лет назад

    hello can you share the sourcecode to me? Thank you so much

    • @nicoandregestiada180
      @nicoandregestiada180 6 лет назад

      i just followed your code on the video, its now working. Cheers!
      Btw, i really cant find video where page line will break when it does not fit the cell. Can you help me? Thank you

  • @kavyahulyal4630
    @kavyahulyal4630 5 лет назад

    send me the source code pls...

  • @chongweisiang9784
    @chongweisiang9784 5 лет назад

    Thank you. but can i have your code?

    • @chongweisiang9784
      @chongweisiang9784 5 лет назад

      @@GemaCodethanks a lot.. but which file?? is it that pdc mc table???

  • @riyapal6551
    @riyapal6551 7 лет назад

    BHEJJBU

  • @norshazwanie3545
    @norshazwanie3545 6 лет назад

    hey there, how to print data from search function ??

    • @norshazwanie3545
      @norshazwanie3545 6 лет назад

      Gemul Channel yesss .. thats what i means.. ive done only with print all data from database . but filter on search can’t be done

    • @norshazwanie3545
      @norshazwanie3545 6 лет назад

      Gemul Channel sorry, i still dont get it 😔

    • @norshazwanie3545
      @norshazwanie3545 6 лет назад

      Gemul Channel ok !!! it’s really work for me !!.. but. my once i click on url as what you said it work on print.php?name=musa
      but. if i click on print button there was an error 😂. can i know why?

    • @norshazwanie3545
      @norshazwanie3545 6 лет назад

      im using your suggestion , but can i know first is it correct on my button link on print. or i need to add something to make it work well after click on print
      Print

    • @norshazwanie3545
      @norshazwanie3545 6 лет назад

      soooo gemul, its really work !! ive got it. thank you soo much !! see you soon