How to Display fetch data from database in PHP | Select and Fetch data from MySQL | cyber warriors

Поделиться
HTML-код
  • Опубликовано: 21 дек 2021
  • In this video, I will teach you how to fetch and display MySQL table data into HTML/ PHP web pages using a select query.
    Coding Competition: • Coding hunt 2022 | Nat...
    Next Part: • PHP CRUD | CRUD Operat...
    Complete Web development playlist: • Web Development Tutori...
    Complete PHP series: • PHP Tutorial For Begin...
    Restaurant website complete playlist: • How to design a Websit...
    Ecommerce website with online payment option: • How to create an eComm...
    C Programming Playlist Link: • C Programming Tutorial...
    BCA course complete detail: • Scope of BCA, Career O...
    Programmer vs Developer: • Programmer vs Develope...
    Top 5 highest paying courses: • Top 5 skills to learn ...
    Python Complete Playlist Link: • Python Tutorial For Be...
    CSS3 Complete Playlist Link: • CSS3 Tutorial For Begi...
    Online Course Selling website video link: • how to make an online ...
    HTML Playlist Link: • HTML Tutorials For Beg...
    #howtodisplaydatafrommysldatabase #phpcrudoperations #selectqueryinphp
    Connect with me on
    =================
    Telegram = t.me/cyberwarriorsofficial
    Insta = / mintukumarpune
    Twitter = / mintukumarpune
    Facebook page = / cyberwarriorsindia
    Cyber Warriors
    ============
    like
    share
    comment
    subscribe and press the bell icon
  • НаукаНаука

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

  • @AJJmusician
    @AJJmusician Год назад +16

    Really well explained. Just thought I would mention that:
    when I type
    echo $result[fname];
    I get nothing
    But it works when I use quotes, i.e.
    echo $result['fname'];
    Also, from the previous lesson:
    This didn't work for me:
    if ($_POST['submit'])
    I had to use this:
    if (isset($_POST['submit']))
    Thought this might be helpful for you to explain to those that are not getting the right result.
    Keep up the good work!!!!

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

    Thank u bhai aapki video ka muje besabri se intjaar rhta h thank u brother 😍

  • @subhanath858
    @subhanath858 Год назад +1

    Great explanation,bro

  • @64.SonaliNamdevSutar-mk8ui
    @64.SonaliNamdevSutar-mk8ui 10 месяцев назад

    Great explained 🥺💯

  • @VivekGupta-ow5on
    @VivekGupta-ow5on 2 года назад +3

    Thanks again for Best training project .

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

    amazing teaching sir

  • @munibashahid8516
    @munibashahid8516 10 месяцев назад +1

    mysqli_fetch_assoc
    yay query work nhh kr rhy
    after use this query koi error to nhh aya but work nhh kiya koi bhi is query nay

  • @eshakhan8448
    @eshakhan8448 Год назад +1

    Thnku

  • @mubasherrafique4052
    @mubasherrafique4052 11 месяцев назад

    detail explaination

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

    Its showing syntax error on line 4 $query . Parse error: that says its an unexpected variable

  • @GauravSharma-fp9fm
    @GauravSharma-fp9fm Год назад

    Not insert date from calendar and other field information fill click submit button data insert into database and default date is 01-01-1970
    How to solve this date problem.
    we can require all fields fill information than submit button into database

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

    Thanks bro

  • @ItsAnnieKB
    @ItsAnnieKB 4 месяца назад

    It's showing fetal error undefined constant... Now what to do help me out please

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

    sir app kya krte ho app jab krete ho ya only youtube pr hi teaching krte ho

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

    vai apka teaching acha he , lekin vedio jara derse ate he , vedio jara chalo ayei to hamare bohot faida hota.........
    Thanks for give us a awesome class

  • @chamkaurchhina2496
    @chamkaurchhina2496 Месяц назад

    Sir data print me undefined constant fname aa raha h

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

    mere sare dout clear ho gye

  • @HarpreetKaur-zb4gf
    @HarpreetKaur-zb4gf 5 месяцев назад

    Thank you sir for this amazing session
    Sir I have problem my register and checkmark not designed by css every thing is Okk connection file and display file working excelent
    But register cause problem it looking not good in form

  • @user-kn1uh5ov9t
    @user-kn1uh5ov9t 8 месяцев назад +2

    jiska fname wagaira array me insert karne se nahi chal rha hai wo single cotes ka use kare chal jaega

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

    Sir i get warning while i use mysqli_fetch_assoc() then i use error_reporting then we don't see any warning after that when i echo $result then the error occurs undefined constant fname ....sir what should I do or even i use xampp server

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

    Please add the code of this project

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

    Sir, if($total !=0) error araha hai kese solve kare

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

    Database me store data ki styling kaise kare

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

    Warning: Array to string conversion in C:\xampp\htdocs\duelcomm\display.php on line 11
    ArrayRecord
    brother please help me or give me hint I checked several times

    • @meme-cl4dh
      @meme-cl4dh Год назад

      Did you get any solution ? I am also facing the same issue.

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

      @@meme-cl4dh solved bro

    • @meme-cl4dh
      @meme-cl4dh Год назад

      @@mohammadforhad2473 how come ? Please share the code and solution, thanks

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

      I'm getting same problem.

  • @abushahma9239
    @abushahma9239 11 месяцев назад +2

    Show this error what's the problem? Warning: Array to string conversion in C:\xampp\htdocs\connection file\index.php on line 8
    ArrayTable record add

    • @bhartikumaribarnwal124
      @bhartikumaribarnwal124 11 месяцев назад +2

      Use error_reporting(0); it will not show the warning

    • @CyberWarriors
      @CyberWarriors  11 месяцев назад +2

      write error_reporting(0); in the first line of php

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

      @@CyberWarriors Sir I write error_reporting(0) then web page hide OR remove all text

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

      @@abushahma9239 please apply single inverted commas...
      Just like - $result [ ' fname ' ]." ".$result[ ' lname ' ];

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

    sir mera display wale page me data dikhai nhi de raha hai .

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

    Hello sir...
    Echo $result[fname];
    Ye code execute nahi ho raha hai
    Mujhe output me kuch bhi show nahi ho raha hai..sir
    Sir please solve this problem..

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

    Warning: Array to string conversion
    I'm getting this error while getting result

  • @itsaamirmemy5870
    @itsaamirmemy5870 11 месяцев назад

    source code?

  • @mkklive6958
    @mkklive6958 Год назад +1

    Hi database se data nahi uta raha

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

      code cross check karo

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

      $Result variables ke andar Sare Attributes ko single quote ' ' ya phir double quote " " k andar rakh k dekho

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

      name change hoga aapka

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

      @@invictus302 thanks for saving my life
      love yaa