'salting' is adding a string to the user submitted password, always the same string, and storing that. When you want to compare the password a user submits, you add the same string, hash it, and compare the 2.
Salting is just an additional layer of security, not strictly neccessary but advisable.
My code takes the string 'D5tgabn78' and concatenates (joins) it to the password input: that is what the dot is, the string concatenation operator in php. Example
$pwd = 's411y'
$salt = 'D5tgabn78'
$salt . $pwd = 'D5tgabn78s411y'
Hash and store the salted password, and then do the same to the user's input when you want to check the login.
If it confuses you then just forget it - but remember the dot.concatenation.operator