Тёмный

Fetch Data from Two or more Table Join using PHP and MySql 

Webslesson
Подписаться 96 тыс.
Просмотров 208 тыс.
50% 1

In this video you can find how to merge two table data using inner join keyword and load that data on web page using php and mysql.
Check our new PHP Project with Complete Source Code
Restaurant Management System Created using PHP - • Video
Visitor Management System in PHP Mysql using Ajax jQuery - • Video
Source Code - www.webslesson.info/2016/04/fe...

Опубликовано:

 

28 апр 2016

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 100   
@officialdeba10
@officialdeba10 6 лет назад
Thank you, spending 2 days searching for this $sql code for fetching data from two table....done my job, thank you again sir
@manuelravanilla5259
@manuelravanilla5259 6 лет назад
You are gift brother and your are unselfish person.. Until now ur all video tutorial helps me a lot in doing my thesis..
@elizabethbacud
@elizabethbacud 3 года назад
FROM 3DAYS OF SEARCHING, I FINALLY FOUND THIS! GREAT JOB!!! thank you so much
@niwamicha226
@niwamicha226 2 года назад
do you find another videos , if you can share it with me
@azamikram2668
@azamikram2668 4 года назад
wow your video is much best 2 days searching this cose but not found you are best
@jasminekaur853
@jasminekaur853 6 лет назад
Thankx alot sir!!!!! Your video helped me alot to done my job in few seconds.
@vallabhshri1938
@vallabhshri1938 7 лет назад
Your examples are very helpful. Thanks for uploading.
@webslesson
@webslesson 7 лет назад
Thanks Vallabh Sri...
@mirajj2413
@mirajj2413 3 года назад
The speech bot is kinda bad, but this is such a great and very straight to the point video, good job
@qudratali5226
@qudratali5226 7 лет назад
Thank you friend, this presentation was awesome friend.
@galer041
@galer041 4 года назад
Brief and clear, thank you
@SumanSau
@SumanSau 6 лет назад
Thanks buddy you made my project with help of this video for my university project
@fernandasepulveda2009
@fernandasepulveda2009 6 лет назад
OMG!!! THANK YOU SO MUCH!!!
@XiroNyakuya
@XiroNyakuya 5 лет назад
Thank you very much!, that worked!
@christopherlancegamboa3315
@christopherlancegamboa3315 5 лет назад
Great Tutorial!
@flavouredrecipez
@flavouredrecipez 5 лет назад
Thanks alot sir. Your video helpd me alot to learn how to Join.. Again thanx
@galer041
@galer041 4 года назад
Great, this is good. Thank you sir.
@neutechsoft3515
@neutechsoft3515 3 года назад
Great video solve my problem ]You got like Searching from last 3 days to write such a query but at last, I find it thanks a lot
@andynjoji3017
@andynjoji3017 7 лет назад
thank you very much !
@mdmasud5888
@mdmasud5888 7 лет назад
Your every tutorial is so helpful and easy to understand.
@webslesson
@webslesson 7 лет назад
Thank you Md Masud for your thoughtful words.
@tureal4027
@tureal4027 5 лет назад
Thanks a lot bro. This is a nice tutorial
@photon2724
@photon2724 4 года назад
wont it be easier if you talked instead of using text to speech?
@mosesegboh
@mosesegboh 4 года назад
sometimes I don's know whats wrong with these guys that make these videos.....they can be so annoying
@heinzikguther462
@heinzikguther462 4 года назад
"Friends brand name brand product brand friends brand product friends brand"
@jakeo1209
@jakeo1209 3 года назад
He is talking. Didn't you recognize him? It's Steven Hawking?
@shamsuhailashamas1524
@shamsuhailashamas1524 6 лет назад
thank you so much.......at last I got this
@aclaputra8379
@aclaputra8379 3 года назад
Thank you sir, Great explanation
@universe3258
@universe3258 4 года назад
Excuse me! Can you please tell me whether there are ways to display the results so that the duplicate Brand Names e.g. Samsung can be grouped and presented in one row while keeping its corresponding three Product Names? Thank you so much!
@stephenresponte1103
@stephenresponte1103 5 лет назад
what if you gonna join other data to its specific user , like grading system it this. kind of function would be still working.?
@Obiwanwasabii
@Obiwanwasabii 7 лет назад
thanks friend
@tsioritianaryanrakotoahijo7385
@tsioritianaryanrakotoahijo7385 4 года назад
thanks a lot guys
@wordykanainggolan6597
@wordykanainggolan6597 3 года назад
Thx Broo
@crisjordan5099
@crisjordan5099 6 лет назад
the best tutorial ever.. GOD bless who ever you are Webslesson
@BoyToby23
@BoyToby23 5 лет назад
thanks :D
@cdyoucefsmartphone3182
@cdyoucefsmartphone3182 3 года назад
THANK YOU
@jalalzoon4447
@jalalzoon4447 5 лет назад
good job
@harshalshingne8528
@harshalshingne8528 6 лет назад
thank you very much sir
@webslesson
@webslesson 6 лет назад
you are most welcome harshal.
@engniman7192
@engniman7192 2 года назад
Well done dear it helped me
@lastninja2022
@lastninja2022 4 года назад
very nice tutorial sir but can you make drop list where input text rely on drop down-list category before searching?
@OGUNSAKINDPETER
@OGUNSAKINDPETER 4 года назад
thank you
@jabamotovlog
@jabamotovlog 6 лет назад
sir i have a question please notice me thank you .. my question is i have another form then if i search the ID in the text field, form will show the data by imputing only id and show only the firstname, lastname, email, address and contact and insert the new data in another table and how i build the code in php thank you your number 1 subscriber in this channel THANK YOU
@W0lfbaneShikaisc00l
@W0lfbaneShikaisc00l 5 лет назад
Can't help but smirk after hearing "friend" in this weird skipping automated voice message XD
@muhammadzain8184
@muhammadzain8184 4 года назад
Thanks Boss
@adamabdullah6789
@adamabdullah6789 5 лет назад
Good video
@adamstephano3386
@adamstephano3386 7 лет назад
thanks
@shanurtahshildar7459
@shanurtahshildar7459 6 лет назад
how to access data from two table and and insert into anther table in mysql n php
@nayeemchowdhury2497
@nayeemchowdhury2497 5 лет назад
nice video
@nuramirahroslan1025
@nuramirahroslan1025 8 лет назад
thanks sir for a good tuorial.. but may i know how can i put the button to go to the next page that carry the product_id?
@howtosolvingcom
@howtosolvingcom 4 года назад
niceeeee
@mnunez6153
@mnunez6153 4 года назад
i presume the output data is dynamic, not automatically recorded in a separate table. How to save then as a new table ?
@pianoLee-sx9dx
@pianoLee-sx9dx 6 лет назад
I got two tables and one of them is users and the other one is called user_access where the user is either a primer level, level 1, level 2 or level 3 user
@rmdenger7025
@rmdenger7025 6 лет назад
Good one
@webslesson
@webslesson 6 лет назад
Thanks Rm Denger for your kind talk.
@webslesson
@webslesson 6 лет назад
Thanks Rm Denger for your kind talk.
@MehediHasan-iq6tz
@MehediHasan-iq6tz 5 лет назад
thnx
@rw7799
@rw7799 6 лет назад
i don't know if this code is good,,,PDO seems to be stack overflow way...but this worked in 5 minutes...took me an hour and still no results in pdo connection.
@TIGER-ql9jj
@TIGER-ql9jj 5 лет назад
Guys...How can I make multiple join in one sql? To get data from 2 foreign keys in the same table?
@debu113
@debu113 4 года назад
Thanks for the tutorial, Only the text to speech voice is beared to listen , otherwise rest of the thing is very good. I earnestly request you please use your own voice it would be very thankful.
@rahulkannaujiya205
@rahulkannaujiya205 8 лет назад
two table data one table1 (add , category) and table2 (subcategory) how to display in hyperlink tag
@eyyyjan4442
@eyyyjan4442 6 лет назад
Hi Sir. I have a problem. I want to insert first the data to my recycle_bin table before I delete it. how can I do that? thank you Sir and Godbless
@vishal_h_patel_
@vishal_h_patel_ 7 лет назад
How can I display database table name. In PHP
@maruko8324
@maruko8324 4 года назад
How to reduce redundancy of the brand name like for example, I only want to output one Samsung Brandname but outputting 3 product name?
@jeevane6025
@jeevane6025 6 лет назад
bro!! is it possible to generate id's dynamically.i mean if a user enters some data then it will store into a database and to this row i want to assign a id,,so i want to increase the id automatically whenever a user enters some data, so i can get that user entered data somewhere else!!!!
@Decrosion
@Decrosion 6 лет назад
Jeevan E auto increment? Its in phpmyadmin when u create/edit structure there’s a tickbox called “AI”
@rahulkannaujiya205
@rahulkannaujiya205 8 лет назад
how to table data display in hyperlink tag
@kaneezfatima2252
@kaneezfatima2252 6 лет назад
kaneez fatima 1 second ago nice video sir ,i have one question ,i have two table A and B ,how can i edit data from both table at a time using php mysql ...it my request plz plz
@umarsaeedkhan9220
@umarsaeedkhan9220 7 лет назад
Please can any one tells me that it is mandatory to use foreign key constraint before using joins in mysql ???
@rw7799
@rw7799 6 лет назад
would have thought so otherwise the data wouldn't link up on html tables,,,unless maybe you had 1 row in each table... be a small database though ;0
@monumishra-g3756
@monumishra-g3756 3 года назад
i want to show brand name only one time but product show all .. how can I marge same record cell when execute code ..
@user-sns365
@user-sns365 5 лет назад
please make a video for update and delete
@chopznow3492
@chopznow3492 5 лет назад
i have made signup and login form and it works fine and it save the user data into "user" table in mysql. my actual problem was after user login because i have another form like "some questions" that user have to fill this and have to submit this form and it is also works fine and user entered answer data will also saved in my mysql "answer" table now my problem i have "answer" table in mysql but in don't know which user have filled this answer table form because it only contains "answers" My question is? I have two tables one is user filled registration tables and another one is user filled answer table in mysql and now how to connect the answer tables with exact user name? example: connect "user" name (this is user registration table contains user name in table 1) to with same users answers (which is answered by users by filling html form the answers in table 2) how to connect answer table to exact users
@rizwanrizu6694
@rizwanrizu6694 4 года назад
How to insert this type of data
@edrienpaker202
@edrienpaker202 5 лет назад
how can i get data inform of cols not rows
@israelawunyo2201
@israelawunyo2201 Год назад
Plz how fatch data from two table using datatable library ajax php
@Shorifdev
@Shorifdev 6 лет назад
I want to show brand name only once. How can I do that?
@codingbiding191
@codingbiding191 4 года назад
You got any solution? If yes then tell me also
@cahitkarac7831
@cahitkarac7831 6 лет назад
İnsan kendinden başka bir şeyi arayıp bulmaya kalkışsa; Gerçekten her geçen saat hem kendinden, hem de her şey den her an uzaklaşır.
@ShubharajBuwa
@ShubharajBuwa 3 года назад
query not working - I get this message - Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in ....line 25 - please explain.
@annfernandes8469
@annfernandes8469 3 года назад
How to use where on join table
@shazinahmed7562
@shazinahmed7562 Год назад
what about if we giving input????/
@imranrafique2289
@imranrafique2289 6 лет назад
I'm making a login page. This is what I want, teacher, user and admin all login using a one page. That's a login page and the three actor is logged in with this page. And the three tablets are separate in the database. like your vedio two saprate table in database. So plz help me. What method of use do you use? You have to send me this code. Only this logic is use if there is no data in database in student table then login teacher. if the teacher is not inthe table then login admin. plz help plz plz
@nilafarbanu9642
@nilafarbanu9642 6 лет назад
Please send a codeing
@isabelastateuniversityisu7428
@isabelastateuniversityisu7428 6 лет назад
Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in C:\xampp\htdocs\Alumni\sample.php on line 25 i have error
@isabelastateuniversityisu7428
@isabelastateuniversityisu7428 6 лет назад
help please
@richm1615
@richm1615 4 года назад
Great video. I’m looking to make a table compromised of two MySQL tables with a many to one union. Using your example, I would like to have the Brand Name for each brand as one cell. Like this: BRAND NAME____|____PRODUCT NAME Samsung...............|.......Samsung Galaxy All ...............................|.......Samsung Galaxy 7 ...............................|.......Samsung Whatever Apple.....................|.......iPad ...............................|.......iPhone 10 ...............................|.......iPhone 9 Suggestions anyone? Thanks in advance to the many good and helpful people online.
@cahitkarac7831
@cahitkarac7831 6 лет назад
Artık kimseye bir şey yazmak istemiyorum. Basit bir yazıyı adam ya anlamıyor. Ya da zekası yetmiyor. Çocuklar gibi anlayıp cevap veriyor. Okuduğu bir cümleden bile hafızasında bir kelime yok.Ha gelmiş, ha gitmiş.
@brascoarts2634
@brascoarts2634 3 года назад
When i heard the word "Friends" recurring more than usual i knew this was def an indian
@atlantic_love
@atlantic_love 8 месяцев назад
An indian using a text-to-speech software.
@mark_staykind1470
@mark_staykind1470 2 года назад
you should have seen error on line 17
@mojar2680
@mojar2680 6 лет назад
Damn, this is the first tutorial from stephen hawking i've ever seen!
@thechoosen4240
@thechoosen4240 2 года назад
Good job bro JESUS IS COMING SOON;PREPARE
@abdullahraihanbhuiyan2346
@abdullahraihanbhuiyan2346 7 лет назад
Nice one. Just stop telling "friends". It's kind of annoying. Thanks.
@webslesson
@webslesson 7 лет назад
Thanks...
@juliuswaweru1904
@juliuswaweru1904 4 года назад
This guys maybe fearing to speak due to lack of a good accent(English). But he/she should not.
@nowwhytwo1636
@nowwhytwo1636 6 лет назад
thanks friend
@tohabin5064
@tohabin5064 6 лет назад
thanks
@webslesson
@webslesson 6 лет назад
Thank you, have a nice day!
@vishal_h_patel_
@vishal_h_patel_ 7 лет назад
How can I display database table name. In PHP
Далее
How to use Mysql View in PHP Code
5:22
Просмотров 13 тыс.
Получилось у Миланы?😂
00:13
Просмотров 774 тыс.
MySQL JOIN Multiple Tables Tutorial in Hindi / Urdu
10:34
Create Simple Shopping Cart using PHP & MySql
19:12
Просмотров 704 тыс.
6 SQL Joins you MUST know! (Animated + Practice)
9:47
Просмотров 125 тыс.
Using SQL to Select Records from Multiple Tables
10:32
Learn SQL In 60 Minutes
56:24
Просмотров 2,1 млн