If you don't know HTML it's best learn that first before learning PHP.
You don't _need_ to learn HTML before learning PHP. You only need it if you plan on building a website (or web page) yourself. Hence it not being a _real_ requirement. For example, I'm quite good in PHP, and barely know the basics of HTML (which I learned when I just happened to need it some day).
Anyway, http://php.net/ there simply is no better resource.
What's the purpose of knowing PHP without HTML, i mean if you do not plan building a website then why bother to learn PHP it does not have other puproses than websites.
Thanks guys
Also,
HTML = Hyper Text Markup Language
What does PHP stand for?
Thanks.
And Google hardly ever gives me the answers I need.
It just picks out my keywords and not what I need :\
PHP is just a scripting language, and you can implement it using C for example, and use it for game and AI scripting, however it's most popular usage is within websites, indeed.
cause PHP is so slow that it has no purpose as AI.
Theoretics aside, I've build an (experimental) MMO engine using purely PHP and it runs smoothly covering 2000 monsters and tested with several dozen connected users with barely any CPU load on a 1500Mhz testserver with 1Gb ram. It consists of 5 seperate instances (monster server, user server, chatserver etc) talking with eachother trough TCP/IP pipes using a flash application as client.