In my early post I said PHP is the most popular open source web development technology. So I hope to write more posts about PHP. So let’s start with Variables.
If you want to be a good programmer, you should have a good understand about Variables. So let’s see what is this variable?
Variable is a symbolic representation of a value.
In PHP, Variable names:
- Should start with $ (Dollar) sign
- Followed by names or underscore
- Can contain numbers or names or dashes
- No space between $ sign and name
- Case sensitive
So let’s make more sense in this example:
In web browser :