PHP Lesson 2 – Variables
The simplest definition of a variable is a structure used to store desired data. You can compare it to an empty glass. We can put whatever we want in the glass. In PHP, variable names begin with the $ symbol. We cannot use Turkish characters, spaces, dashes (-), or special characters in the name. Let's define an example variable:
