PHP & MySQL

PHP development with sample code, PHP date, array, string and date functions. Creation of databases and tables in MySQL.

PHP date_default_timezone_set(): Set default time zone UTC

New post to review the function of PHP date_default_timezone_set() that sets the default time zone. (more…)

October 12, 2020

PHP date_default_timezone_get(): Get default time zone UTC

When we are working with dates in PHP we always have to consider if the time zone of the system…

October 12, 2020

How to display PHP errors at runtime with a simple code

Many servers do not display PHP errors by default, so many times when not getting the expected result or performance…

September 20, 2020

PHP header(): operation and redirect 301 with the Location header

The PHP header function allows us to send unformatted headers to the client (robot, browser...). It is a way to…

September 20, 2020

How to detect links in a text string with PHP

Let's see how to detect links and links in a text string with PHP using a simple script. In the…

September 17, 2020

Presentation of the blog about web development with PHP, HTML5, JQuery, MySQL and .htaccess

I will be brief... What I will try to post on the blog, is my initiation to web development oriented…

September 12, 2020