I am going to learn one of the back end languages to make a high score table. My high score table is going to be preaty simple but i just want to know about the basics first.

Whats the difference between PHP and SQL

In flash how can i display a txt file with PHP or SQL

In flash can i edit these txt files?

Thats al for the time being, dont want to get ahead of my self.
Also know of a good tute that might be able to help me.