There are some good tutorials on using PHP and MySQL to build web pages. It would help you a lot to find an example and get it working, That will show you how to create tables, insert data, and pull the data back out into a web page. Then all you need to do is change the tables to hold your data, something like this (not tested):
create table Countries (
countryId int NOT NULL AUTO_INCREMENT,
country varchar(60),
countryCode varchar(16),
PRIMARY KEY (countryId )
);
create table Inflows (
countryId int,
dataYear int,
inFlow int,
PRIMARY KEY (countryId, dataYear)
);