Tagged: php

How to perform case insensitive array search in php? 1

How to perform case insensitive array search in php?

Searching is a usual and regular task in programming. Letters case sensitivity is a problematic in searching. Hence, both search string and array string should be converted into same case before searching. Otherwise searching...

How to show all errors in php? 0

How to show all errors in php?

Without editing php.ini it is possible to display almost all errors in php by adding following 3 lines of codes on the top of the php page: ini_set(‘display_errors’, 1); ini_set(‘display_startup_errors’, 1); error_reporting(E_ALL); Hope it...

How do get PHP Errors to display? 0

How do get PHP Errors to display?

To get PHP errors to display without modifying php.ini add the following codes to the top of the php file: ini_set(‘display_errors’, 1); ini_set(‘display_startup_errors’, 1); error_reporting(E_ALL); However, it won’t show parse errors. To show parse...