Pages

Displaying MySql data in drop down box - PHP

The following PHP code will display the names from the table "results" in a drop down box.

Table is:
id name Maths English Science
1 AAA 87 65 98
2 BBB 65 76 45
3 CCC 98 80 99
4 DDD 65 45 47
5 EEE 34 54 43
6 FFF 32 76 65
7 GGG 54 65 76
The Code is:

 The Output is:

No comments:

Post a Comment