how can i show my database by pressing button. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how can i show my database by pressing button.

I created two button and two dfrnt database..button are lyk food and employee button...now I want to show my database if I press food button than it will show food database and employee button it will show employye database...how can I impliment it.?

20th Aug 2017, 5:07 AM
Saikat
1 Answer
0
first use if conditions for 2 buttons. now make table inside while loop for displaying your whole data. run query : "select * from food ;" and "select * from employee ;"
20th Aug 2017, 5:36 AM
Mohit Mehta
Mohit Mehta - avatar