pdo php tutorial api example | build a rest api using pdo php [Easiest way] 2022

Поделиться
HTML-код
  • Опубликовано: 9 янв 2025

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

  • @mahdirezaiy
    @mahdirezaiy 11 месяцев назад +1

    as a Beginner, I learned a lot from this video. Thank you ❤❤

    • @ZarxBiz
      @ZarxBiz  11 месяцев назад +1

      Glad this helped, Thanks for the comment.

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

    This was a big help for me as a beginner. Thank you so much! :)

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

    Thank you!

  • @AbdDomingos
    @AbdDomingos 2 года назад +2

    Can you make a tutorial of How to upload images and files to API using PDO PHP?

    • @ZarxBiz
      @ZarxBiz  2 года назад +1

      Hi there thank you for the comment, I will try to create this video.

  • @TITAN-sv5eg
    @TITAN-sv5eg 2 года назад

    can you tell me what i need to learn about restful api what is the steps

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

    How will I write the join SQL query if I select a particular category and want to get all posts associated with that category?

    • @ZarxBiz
      @ZarxBiz  2 года назад +1

      Select * from 'table name' where category='categoryId'
      SELECT b.name, c.name AS categories FROM blog b JOIN category c ON p.category_id = p.id
      Something like that
      Hope this is what you asked

  • @edwardabbeo7085
    @edwardabbeo7085 9 месяцев назад

    SQLSTATE[HY000] [2002] No such file or directory , can you please assit ? The error occurs in the update.php file

    • @Bader-eddineOuaich-lt6gd
      @Bader-eddineOuaich-lt6gd 8 месяцев назад

      I was having the same issue, spent 16hours trying to solve it, turn out I declared the $host, $dbname variables static lol, you might have done the same. if not try to explicitly put the values raw in the new PDO("...") it might work.

  • @the_dark_soul_of_man
    @the_dark_soul_of_man 10 месяцев назад

    The Posts as table and the post as method confused me for a second there.