Escape slashes are used within PHP code to allow certain characters to be printed out rather than producing an error message. This can mostly be used when trying to ask a question within a string.