The drop down list is populated with the name of different tables in the database.
By selecting a certain value from the drop down list, the table will be populated with the values from the db
$sql="CREATE TABLE Bellow1600cc(
Name varchar(10),
Vehicle varchar(20),
PowerKW int(3),
TorqueNM int(4)
)";
$sql="CREATE TABLE Diesel(
Name varchar(10),
Vehicle varchar(20),
PowerKW int(3),
TorqueNM int(4)
)";
all the table attributes are the same, just table names and values are different