WEB Course

Enable errors

Go back

To enable errors, simply write these lines at the beginning of your code (not necessarily at the beginning, but make sure that this code is executed before the errors happen).

<?php

error_reporting(E_ALL);
ini_set("display_errors", 1);