Single quotes show text exactly as written. Double quotes can show variables and special characters.
You can debug using echo, print, var_dump(), and checking error messages.
$_SERVER holds info about the server like page name, browser info, and request method.