Handle UTF-8 encoding in PHP, MySQL and HTML

This post describes how to handle the UTF-8 character encoding format in PHP, MySQL and HTML. Prerequisites Have a server running PHP and/or MySQL (see Install and set up a web server on Debian or Ubuntu Linux). Handle UTF-8 in PHP The Continue reading Handle UTF-8 encoding in PHP, MySQL and HTML

Handle PHP errors and exceptions

This post describes how to handle PHP errors and exceptions. Prerequisites Have a server running PHP (see Install and set up a web server on Debian or Ubuntu Linux). Handle PHP errors Predefined constants E_ERROR (1), E_WARNING (2), E_PARSE (4), E_NOTICE (8), E_CORE_ERROR (16), E_CORE_WARNING (32), E_COMPILE_ERROR (64), E_COMPILE_WARNING Continue reading Handle PHP errors and exceptions