HOME | PHP Tutorial | CSS
facebook icon
HTML Tutorial

CSS Tutorial

How to get PHP errors to display?

This code always works:

Example 1
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);

However, the code above doesn't make PHP to show parse errors - the way to show errors is to modify your php.ini as:

Example 2
display_errors = on

php errors, php error display ini_set, code, htaccess, enable, off, none, call stack, function, e_all, blank How to get PHP errors to display? - php tutorial

1934. First script, php tutorial
First script php tutorial

2251. PHP Tutorial - Strings
A string in PHP is a simple character concatenation. We already learned about how to set a string in PHP using double and single quotes, nowdoc and heredoc syntax. Learn about PHP native functions like, strpos, str_replace, explode and so on.

3274. Function eregi_replace() is deprecated in php - How to fix, php tutorial
Function eregi_replace() is deprecated in php - How to fix php tutorial

3365. PHP Switch Statements
Learn about PHP Switch statements with this PHP tutorial.

1938. PHP String Functions, php tutorial
PHP String Functions php tutorial

2247. PHP Tutorial - If / Else statement
The if/else condition is the most simple form of conditional processing and you will find it in any programming language. So if you already know some other programming language this will be an easy read. If not, just read this tutorial carefully because

Your add here
How to get PHP errors to display?
How to prevent sql injection in php mysqli
How do I get PHP errors to display - PHP error_reporting()
mysql_query(): The mysql extension is deprecated and will be removed i
Function eregi_replace() is deprecated in php - How to fix
PHP delete an element from an array
Uncaught Error: Call to undefined function MYSQL_NUM_ROWS() in
Deprecated: mysql_connect() mysql extension is deprecated and will be
mysqli_fetch_array() expects parameter 1 to be mysqli_result boolean g
SQL IN Operator - example
SQL like syntax and example
SQL WHERE AND & OR multiple conditions
SQL create table primary key autoincrement
PHP mysqli_connect () Function
SQL COUNT(), AVG() and SUM() Functions
Display data from SQL database with MySQLi into php - html table
SQL mysql order by columns, by date, by asc, by desc, random with PHP
PHP mysqli_query() Function - mysqli query
SQL delete row - SQL delete table
SQL update - SQL update select
Insert into SQL - Insert into table SQL - Insert data in sql
Login in PHP - simple login script with PHP MYSQL