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 Наука
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!!!!
Thank you for explain .. I have same problem suffer
Thank you
exactly!!
thanks for your comment you reslove my problem😇
Thank u bhai aapki video ka muje besabri se intjaar rhta h thank u brother 😍
Welcome
Great explanation,bro
Great explained 🥺💯
Thanks again for Best training project .
Always welcome
amazing teaching sir
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
Thnku
detail explaination
Its showing syntax error on line 4 $query . Parse error: that says its an unexpected variable
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
Thanks bro
Welcome
It's showing fetal error undefined constant... Now what to do help me out please
sir app kya krte ho app jab krete ho ya only youtube pr hi teaching krte ho
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
Welcome
Sir data print me undefined constant fname aa raha h
mere sare dout clear ho gye
Good
Me crud shik rha hu sir
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
Anyone knows..??
jiska fname wagaira array me insert karne se nahi chal rha hai wo single cotes ka use kare chal jaega
ok
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
while($row=mysqli_fetch_assoc($result)>0 dailiye ho jayega
Just aply the quote to fame ie.....'fname'
@@garenaunofficial7799 Thank you
@@garenaunofficial7799 thanks
thanks man @@garenaunofficial7799
Please add the code of this project
Sir, if($total !=0) error araha hai kese solve kare
you need to cross check your code
Database me store data ki styling kaise kare
use CSS
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
Did you get any solution ? I am also facing the same issue.
@@meme-cl4dh solved bro
@@mohammadforhad2473 how come ? Please share the code and solution, thanks
I'm getting same problem.
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
Use error_reporting(0); it will not show the warning
write error_reporting(0); in the first line of php
@@CyberWarriors Sir I write error_reporting(0) then web page hide OR remove all text
@@abushahma9239 please apply single inverted commas...
Just like - $result [ ' fname ' ]." ".$result[ ' lname ' ];
sir mera display wale page me data dikhai nhi de raha hai .
video sahi se dekh ke code cross check karo
@@CyberWarriors OK Sir
['fname']
' ' lagao
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..
Please Let me Know if you solved it
Please let me know if you solved it. I have the same issue.
@@meme-cl4dh See my message above. You need to use quotes!
@@AJJmusician thanks this helped
Warning: Array to string conversion
I'm getting this error while getting result
Same here... Use error_reporting(0);
source code?
Hi database se data nahi uta raha
code cross check karo
$Result variables ke andar Sare Attributes ko single quote ' ' ya phir double quote " " k andar rakh k dekho
name change hoga aapka
@@invictus302 thanks for saving my life
love yaa