Tag: Scripting

PHP – The Basics of the Language

by
Guru

Today I will be talking  a bit on PHP’s syntax and constructs. Previously I had given a small introduction on PHP. Now is the time to get your feet wet. Before going even further you should have PHP and MYSQL minimally running on your machine a.k.a localhost (You can go for an elaborate discussion on localhost at wikipedia or stick to my simple description. Refers to your own machine also addressed by 127.0.0.1).  I know you are a Geek, you may want to do your own setup but yet, I would recommend you to take a look at integrated packages such as:

  1. Xampp (my preference)
  2. Wamp
  3. EasyPHP

As far as I know personally I have heard of these three packages. There are more out there in the wild. Xampp would be enough for all your development tasks. Please bear in mind these packages are meant only for development purposes. They are not to be used on a live website.

Continuing where I left. Lets talk syntax. uhh, let me remind you coding scripting in PHP is very different from conventional programming. As I say often, PHP has a philosophy, a way of getting things done. 🙂 Don’t be afraid.

Continue Reading »