Dependent Drop Down list In PHP and MySQL using jQuery Ajax

  Рет қаралды 101,155

learnWebCoding

learnWebCoding

Күн бұрын

Пікірлер: 82
@pedrosoares7273
@pedrosoares7273 4 жыл бұрын
I've been trying to do this for over 15 hours (spread between 2 days). No joke. And thanks to your video I could do it. Thank you very much
@learnWebCoding
@learnWebCoding 4 жыл бұрын
I am glad to hear that. you're most welcome!!
@sithusoe8797
@sithusoe8797 2 жыл бұрын
Thanks a lot. God Bless U bro. Fully explain in only one short video. I understand well. Code also working very well. I'll never forget u. Thanks ....
@zealcrew9217
@zealcrew9217 2 жыл бұрын
it was a big help bro, abhi maja aiga na bhidu, god bless you mere bhai.
@zacmussatt9267
@zacmussatt9267 4 жыл бұрын
I found this adaptable for my project. Thank you for taking the time to make this demo.
@cj3413
@cj3413 6 жыл бұрын
This worked for me very well, except json parse who don’t accept the use of accents in words like : é or è. Thank you so much Sir
@darshitsolanki4922
@darshitsolanki4922 5 жыл бұрын
after an hour got the right video ... thank you so much
@pythusiast4701
@pythusiast4701 4 жыл бұрын
awesome man. You saved my day. Very helpful. GOD bless u.
@vijayshah8393
@vijayshah8393 4 жыл бұрын
Nice One... Really like this tutorial
@parideshpande7315
@parideshpande7315 4 жыл бұрын
Thank you so much for this video! I was struggling to do this since a veryy long time. Thank you so much!!
@learnWebCoding
@learnWebCoding 4 жыл бұрын
Glad to hear that.. your welcome!!
@fabianhernandez3569
@fabianhernandez3569 4 жыл бұрын
@@learnWebCoding hi good work, just have a question how can i add the value in --'' + --model.name-- + ''-- thank you
@PhanDuyAnhB
@PhanDuyAnhB Жыл бұрын
thank u so much, love u 3000 🥰😁😁😁
@akshaygupta8331
@akshaygupta8331 5 жыл бұрын
thanks a lot sir for the video. my all queries get solved. thanks once again
@ahmetcengiz6247
@ahmetcengiz6247 5 жыл бұрын
This video made my day! Thanks my friend :)
@learnWebCoding
@learnWebCoding 5 жыл бұрын
Glad to hear that.. your welcome!
@ianfineza6870
@ianfineza6870 7 жыл бұрын
Hi sir! I am your fan from Philippines :)
@omniversal4739
@omniversal4739 4 жыл бұрын
Thanks, bro! Very informative tutorial.
@DailyTutorial
@DailyTutorial 3 жыл бұрын
nice bro
@jennygrigoryan3809
@jennygrigoryan3809 3 жыл бұрын
Thanks a lot! It works!!!!!!!!!
@isuruaravinda9651
@isuruaravinda9651 5 жыл бұрын
Really helpful video, thank you very much
@kazimrahman7499
@kazimrahman7499 3 жыл бұрын
Awesome...!!
@LaughterCentra
@LaughterCentra 4 жыл бұрын
Hi thanks for your effort on this tutorial . can you make another tutorial using postgresql?
@ginamagdadaro7748
@ginamagdadaro7748 2 жыл бұрын
How to edit or update dependent dropdown? Can you make a tutorial please i badly need it for my project. Thanks in advance
@swathir8828
@swathir8828 2 жыл бұрын
Is it possible without using php only by using jQuery?
@khal-elbangcola8167
@khal-elbangcola8167 4 жыл бұрын
Thank you very much Sir
@learnWebCoding
@learnWebCoding 4 жыл бұрын
Your most welcome!
@bachuarg
@bachuarg 5 жыл бұрын
Thanks for the video. Was really useful and got it working. Now Im stuck in the following step. I need to submit the author and book to get the book detail in another page, adding the awards and the year the books were published. Would be great if you can help me!
@farithadnan
@farithadnan 4 жыл бұрын
omg! thank you so much for this tutorial! i really needed this
@learnWebCoding
@learnWebCoding 4 жыл бұрын
Glad it was helpful!
@akshaygupta8331
@akshaygupta8331 5 жыл бұрын
is it necessary to write the lines " " in the program
@dhanabalp9175
@dhanabalp9175 4 жыл бұрын
i want a four dropdown and last dropdown select means get price can u help for us?
@sachinbhagat1483
@sachinbhagat1483 5 жыл бұрын
Instead of selecting from drop-down from first text box I want to select from autocomplete suggestions from first text box and fetch associated books in second text box.. Please make this video of dynamic drop-down based on autocomplete suggestions selection. I have searched over Google but didn't find any decent tutorial on this.
@serveque
@serveque 5 жыл бұрын
thank you so much . it is excellent
@manjannan3976
@manjannan3976 4 жыл бұрын
Can I use this to Google form..?
@naidum.krishnakumar7665
@naidum.krishnakumar7665 6 жыл бұрын
Great video
@farhanazam8981
@farhanazam8981 6 жыл бұрын
it is working, so how about showing back the dropdown based on the data from database?
@laboratoryforeducationalte9457
@laboratoryforeducationalte9457 3 жыл бұрын
where is the jquery and css file and the second selection is not working.plz reply
@binduvasini8614
@binduvasini8614 4 жыл бұрын
Sir I have included the jQuery file. But still, the second drop-down is not working.
@twiggitina21
@twiggitina21 5 жыл бұрын
Can we please have access to the source code? I have copied you ajax verbatim and the $_post var is not getting to my php script
@sachitparmar129
@sachitparmar129 4 жыл бұрын
But how u insert author id into book table please explain
@arkchannel7830
@arkchannel7830 3 жыл бұрын
Please tell me how to connect four dropdown list connections
@mr.sopeou9319
@mr.sopeou9319 3 жыл бұрын
How to insert variables placeholder in mysql
@wisdomguy9837
@wisdomguy9837 3 жыл бұрын
The code from github is incomplete
@mohammedbashiru9551
@mohammedbashiru9551 6 жыл бұрын
Thank you sir. You are very good
@drtransport23
@drtransport23 4 жыл бұрын
Thank you for the nice tutorial. How about binding more than two dropdowns and to show the price in frontend as a result? Ex.: (Make) Samsung -> (Model) Galaxy S9 ->(Country) India->(Carrier) Airtel->(Service) AAA = $10
@arkchannel7830
@arkchannel7830 4 жыл бұрын
please need this answer
@irchamaji6700
@irchamaji6700 2 жыл бұрын
do you find the answer? i need it please
@drtransport23
@drtransport23 2 жыл бұрын
@@irchamaji6700 Nope. I hired IT guy to solve it.
@hafizullah5123
@hafizullah5123 4 жыл бұрын
Anyone to help, I need to insert district id into database, one i click province, dependent dropdown should should show all its districts and then id of that district should be inserted into my database.Thanks in advance
@bikramjitsinghvirdi5365
@bikramjitsinghvirdi5365 3 жыл бұрын
Thanx sir can you give me css and jquery for the same i m unable to run this
@ripplesharma7166
@ripplesharma7166 5 жыл бұрын
don't show the second dropdown what to do now plz help me...
@DwikiIkhwan
@DwikiIkhwan 4 жыл бұрын
Embrace your ears, plug your headphones in 11:45 You're welcome
@PureRiseTv
@PureRiseTv 2 жыл бұрын
😂😂😂😂
@shreyabhat2701
@shreyabhat2701 4 жыл бұрын
sir, I tried to implement your logic with my database but its showing the below error Uncaught SyntaxError: Unexpected end of JSON input at JSON.parse () at Object. (create_quotation.php:20) at fire (jquery-1.8.2.js:974) at Object.fireWith [as resolveWith] (jquery-1.8.2.js:1082) at done (jquery-1.8.2.js:7788) at XMLHttpRequest.callback (jquery-1.8.2.js:8500) can u please help me with it. even in console nothing is getting displayed
@emmanuelaku6892
@emmanuelaku6892 5 жыл бұрын
Nice work. Thanks for sharing. Please, how can I get the codes?
@emmanuelokonkwo6578
@emmanuelokonkwo6578 5 жыл бұрын
Thanks for this. However I need to insert the selected option into the database not the id. Thanks
@mohdnawazishalam3255
@mohdnawazishalam3255 5 жыл бұрын
Very helpful tuturial bro can you make it on laravel
@sumit390
@sumit390 6 жыл бұрын
How to displays the information of the authors and book selected on the same page
@yunvi10z
@yunvi10z 6 жыл бұрын
ths dont work for me dont show the second select
@technicalgyan1628
@technicalgyan1628 6 жыл бұрын
true it is not work
@blankshell3401
@blankshell3401 5 жыл бұрын
to get the 2nd select you need to have the jquery-3.2.1.min.js and place it in your folder
@akshaygupta8331
@akshaygupta8331 5 жыл бұрын
sir , in line no. 19 "books.forEach(function(book)" where the book comes from?
@hasnathrumman8712
@hasnathrumman8712 5 жыл бұрын
book is just a param... it's the first array of this {books}... btw you can use any keyword instead of book and it'll work... And make sure use the same keyword when you append with books table... exm: books.forEach( function(bookie) { $('#books').append('' + bookie.book_name + '') })
@nijandhanjaganathan5281
@nijandhanjaganathan5281 5 жыл бұрын
Thank you Bro.
@learnWebCoding
@learnWebCoding 5 жыл бұрын
Your welcome!
@abdulkhalelalfakih5977
@abdulkhalelalfakih5977 5 жыл бұрын
@@learnWebCoding plz i want code for three drop down
@robinjoseph8925
@robinjoseph8925 Жыл бұрын
There is an error in your SQL file source code bro
@ccnaexperts19
@ccnaexperts19 4 жыл бұрын
Thanks!
@learnWebCoding
@learnWebCoding 4 жыл бұрын
Your welcome!
@vcleanandcaresolution8228
@vcleanandcaresolution8228 4 жыл бұрын
Your name (required) [text* your-name] [select* Main Category "Home deep cleaning"][select* Sub Category "sofa cleaning" "kitchen cleaning" "bathroom cleaning"][select* Main Category "Painting"][select* Sub Category "interior painting" "exterior painting" "texture painting"] [select* Main Category "Painting"][select* Sub Category "interior painting" "exterior painting" "texture painting"] Your email [email* your-email] Subject [text* your-subject] Your message (optional) [textarea your-message] [submit "Submit"]
@mitbusinessorganization6738
@mitbusinessorganization6738 2 жыл бұрын
SOURCE CODE NOT WORKING
@webprogramming7055
@webprogramming7055 6 жыл бұрын
thank you..
@ms-arif
@ms-arif 6 жыл бұрын
This script is just owo, but i need to insert country name,state name & city name ,.pls help me
@boukhatemiabdelkader65
@boukhatemiabdelkader65 6 жыл бұрын
thank you for this nice tuto, please i have write the same code for another database but i have this message: Uncaught SyntaxError: Unexpected end of JSON input at JSON.parse () at Object. ((index):16) in this line: books = JSON.parse(books); books.ForEach (function(book){ $('#books').append(''+ book.code_sec +'') }) in my BD i have 2 tables : 1: specialite (id_spe, nom_spe, code_spe) 2: section (id_sec, code_sec, #id_spe) Thks for help me
@YassineIBNELHASSANMA
@YassineIBNELHASSANMA 6 жыл бұрын
I'm having the same issue. Have you managed to find a solution for it?
@mohammedbashiru9551
@mohammedbashiru9551 6 жыл бұрын
Imaging I wanted to show my results to be like Books, Author for the Books Dropdown list how would I do that Sir?
@aliihsansuna
@aliihsansuna 6 жыл бұрын
good jop
@gyan_ki_baate_2023
@gyan_ki_baate_2023 10 ай бұрын
No works
@MehediHasan-iq6tz
@MehediHasan-iq6tz 6 жыл бұрын
source code plz..!
@ratnakarsingh82
@ratnakarsingh82 5 жыл бұрын
code de ta
Dynamic Dependent Select Box using jQuery, Ajax and PHP
14:37
Coder Jay
Рет қаралды 25 М.
Populating Drop Down menus from Database
5:53
PHPBasics
Рет қаралды 94 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Real 10x Programmers Are SLOW To Write Code
14:51
Thriving Technologist
Рет қаралды 71 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 224 М.
Dependent Drop Down List in Php and Mysql  ( Part 1)
21:35
The Code Knowledge
Рет қаралды 54 М.
Creating PHP & MySQL Master Detail Views
16:25
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 6 М.
Why Does Scrum Make Programmers HATE Coding?
16:14
Thriving Technologist
Рет қаралды 527 М.
Ajax Live Data Search with jQuery PHP MySQL
10:20
WebsiteGeek
Рет қаралды 103 М.
Ajax Dynamic Dependent Dropdown in Codeigniter
24:10
Webslesson
Рет қаралды 54 М.
PHP on the frontend! No more Javascript!
14:47
Aaron Francis
Рет қаралды 127 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН