I want to know if I can learn how to write scripts with php alone or do I also need to have some html code to go along with the php.

Also, what are some of the best sites for learning and testing php for a beginner?