Это видео недоступно.
Сожалеем об этом.

How to Get JSON Response from MySQL Database using PHP

Поделиться
HTML-код
  • Опубликовано: 15 мар 2019
  • In This video I have shown that How to get JSON Response from mysql database using PHP. In php a one function is there to convert data into JSON Format
    json_encode()
    using json_encode() method we can convert php array into json array
    GitHut Link : github.com/hiiamrohit/Countri...
    First of all you have to make a Database connnection using php then try to fetxh each row and then store into a array and then convert that array into json object and then using print or echo method give response message
    ~-~~-~~~-~~-~
    Please watch: "MySQL Database connection in java 12 using eclipse 2019"
    • MySQL Database connect...
    ~-~~-~~~-~~-~

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

  • @CiroEndara
    @CiroEndara 3 месяца назад

    thanks so much. you save me a lot of time

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

    I'm so new at this but you help me a thousand. Thanks man!

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

    Wow! This video just saved me from a week long research, thanks so much I feel like crying

  • @abdulshabaaz2304
    @abdulshabaaz2304 5 лет назад +1

    Nice information

  • @rubenbarros4148
    @rubenbarros4148 4 года назад +1

    It Helped me, Well done m8.

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

    Very helpful tutorial. Thanks

  • @YenHoang-uk2zv
    @YenHoang-uk2zv Год назад

    thanks for your useful things!

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

    Thank you mate

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

    thank u man :D

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

    some wrong: i have "Szczepa\u00c5\u0084ska" but i need "Szczepańska" - my data base is utf-8 , php -> utf-8 - json wont't recognise Polish lang - can you help me?

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

    thx

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

    is this whats api mean? by providing JSON content to url? so that the frontend developer can work with?

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

    hi, why the code return me a white blank page? all data are correct

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

    how did he stored the json in the database ???? can anyone help?

  • @majormfr8646
    @majormfr8646 4 года назад +1

    how can we convert mysql data from multiple tables at once into a json object

    • @TechnicalBabaji1
      @TechnicalBabaji1  4 года назад +1

      The first thing required is the knowledge to use join( inner join,left join ) and then proceed as shown in the video. The query has to be different and rest all same.

  • @muhammadrizwan-tz9oz
    @muhammadrizwan-tz9oz 4 года назад

    it shows the following error "Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, bool"

    • @reeti5958
      @reeti5958 4 года назад +1

      You have made some error in query that's why it is giving false as an error response. Check your query by running them on cmd first

  • @mr.RAND5584
    @mr.RAND5584 3 года назад

    Why some php file does not have this symbol ?>

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

    Why "" on integer how to remove

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

    Hello I need code of get_city page.?

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

    You don't get JSON Response as you write, you only output the array as JSON with Php, it's not the same thing

  • @thanhangvan6278
    @thanhangvan6278 5 лет назад +1

    I don't connect. you can help me

    • @TechnicalBabaji1
      @TechnicalBabaji1  5 лет назад +1

      Yes way not.. tell me your error what you are getting.. and also your code where you are getting error

    • @thanhangvan6278
      @thanhangvan6278 5 лет назад +1

      @@TechnicalBabaji1 thank you. I am self-learning web api hoping to help you