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

preview_player
Показать описание
In this video, I will teach you how to fetch and display MySQL table data into HTML/ PHP web pages using a select query.

#howtodisplaydatafrommysldatabase #phpcrudoperations #selectqueryinphp

Connect with me on
=================

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!!!!

AJJmusician
Автор

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

myfamilymember
Автор

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

knuhovt
Автор

Thanks again for Best training project .

VivekGupta-owon
Автор

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

munibashahid
Автор

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

sayedatiqurrahman
Автор

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

HarpreetKaur-zbgf
Автор

how to display the data on the same page(registration form)

mahek
Автор

Warning: Array to string conversion in on line 11
ArrayRecord

brother please help me or give me hint I checked several times

mohammadforhad
Автор

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

abushahma
Автор

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

ItsAnnieKB
Автор

Sir data print me undefined constant fname aa raha h

chamkaurchhina
Автор

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

ramwakchaure
Автор

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

GauravSharma-fpfm
Автор

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

ajayyadavvlogs
Автор

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

adityagautam
Автор

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

PKTECHIE
Автор

Database me store data ki styling kaise kare

truthentertainment
Автор

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

rky
Автор

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..

studytime