Fetching data from MYSQL database to HTML dropdown list

preview_player
Показать описание
Hello friends in this session we will learn how can we fetch data from mysql to html dropdown list?
There are certain situations in which it is very difficult to code in between select and /select The length of code is increased by this way. Here is a solution for it. We can perform same task using php fetch array concept.
Рекомендации по теме
Комментарии
Автор

Quick and easy as it should be. thank you very much, Dhruvin Shah

jorgeizabel
Автор

THANK YOU SO MUCH DUDE! WORKED A LOT FOR ME!!. GOD BLESS U

andrusx
Автор

Thank you very much, I had problems with this, but with your video it worked out! Thanks once more!

roseredism
Автор

this helps me a lot, thanks for sharing this, as a begginer in php a love watching your videos, but for now i am getting trouble with adding data in sql  database.

ginoong_bigote_coder
Автор

thanks alot.It worked for me so well. God bless you.

hongomjoshua
Автор

thanx alot man, you saved me a lot of time.

nelsonuyirwoth
Автор

a thousands of thanks to you, very easy and simple...

ansorMI
Автор

tank you for showing me how to do drrrrop down frend!

LMAO-efip
Автор

Can u make a Video how to update the fetched record?

globalentertainment
Автор

how about as I select in the dropdown a certain text changes as well
for example, I selected a student id and once I do, there will be other information from the db according to the student id, such as the name, age etc.

paulineesca
Автор

+Dhruvin Shah good video. I am trying to use the same approach to add a second drop down but it won't work. Please assit

MrObserver
Автор

I watched your video on Youtube about drop down list....
I have form that shows all data from student table, but I want select by Class ID or by City
After I select from Drop down city name, I want to see how many student are from those city.

I can set fixed value like
$sql = "SELECT * FROM showstudent where Courseid ='CPTR100'ORDER BY id";

but I want to use drop down list and after I select, I want data populated.
Please help.
Thank you so much for your kindness.

fngwalkers
Автор

me chahta ho k jab user name selec kare to us k sath baki row ka data niche show ho wo kese krsakte he? please guide for example agr user CD select kre to baki subject code or teacher name bottom me show hojae

asadabdullatif
Автор

Hi friend can you show me using edit.php

muralikrishna
Автор

how to display on web page any selected data from dropdown list?  

Archanasantosh
Автор

Can you please help me with something similar ?

awaahaab
Автор

can you share me same video using javascript or python

ankitabholane
Автор

hey, update this video to make it mysqli/pdo, second get a better microphone, third do this in a quiet room

Dexterx
join shbcf.ru