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

3219. PHP if, else and elseif Statements, php tutorial
PHP if, else and elseif Statements php tutorial

2018. Learn PHP 5 Tutorial | Studytonight
Learn PHP Tutorial for beginners. We have covered every concept with simple examples to help beginners learn PHP.

2252. PHP Tutorial - Superglobal arrays
Superglobals are a type of variables that are available from any part of your code. Some are well known like POST and GET that are used to pass form values and COOKIE and SESSION that are used to store specific information for a later use

3354. PHP For Loops
Learn about PHP for loops with this PHP tutorial.

2240. PHP Tutorial - Array loop
You can iterate through an array elements using foreach and count PHP built-in functions. To use for, you first need to get the array length using count function.

2244. PHP Tutorial - Echo/Print content
PHP has basically two ways of sending content to the browser and thowse are echo and print. The difference is that print returns a value of 1 when execute while echo dosen

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