Difference between core php and advanced php

i have learned html, css and js.
i am want to learn the back end language.
but i don’t know the difference between CORE PHP and ADVANCED PHP.
what should i learn first of the two and is it necessary to learn MY SQL before learning PHP.

please help me

Thank you