If I have a table in sql database phpmyadmin the table's column : ID Name Salary City 1 John 200 London 2 Eric 300 Paris 3 Michael 450 Milan in php we have to create dropdown menu show the names coming from the database when the user choose a name from the menu will show the salary for this person . one more thing there is no sumbit button , I mean when the user choose a name from the dropdown menu will show the salary without any click. would you help to create php code and javascript if it's needed.
If I have a table in sql database phpmyadmin the table's column : ID Name Salary City 1 John 200 London 2 Eric 300 Paris 3 Michael 450 Milan in php we have to create dropdown menu show the names coming from the database when the user choose a name from the menu will show the salary for this person . one more thing there is no sumbit button , I mean when the user choose a name from the dropdown menu will show the salary without any click. would you help to create php code and javascript if it's needed.
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter11: Sql Server Databases
Section: Chapter Questions
Problem 15RQ
Related questions
Question
If I have a table in sql
ID | Name | Salary | City |
1 | John | 200 | London |
2 | Eric | 300 | Paris |
3 | Michael | 450 | Milan |
in php we have to create dropdown menu show the names coming from the database
when the user choose a name from the menu will show the salary for this person .
one more thing there is no sumbit button , I mean when the user choose a name from the dropdown menu will show the salary without any click.
would you help to create php code and javascript if it's needed.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage