This tutorial will show how to use variables in PHP.
Take the full course from here:
http://php.link/bootcamp
correct way of using variable in php
Variables are "containers" for storing information, variable starts with the $ sign, followed by the name of the variable.