Server Side Form Validation
Server Side Form Validation using Regular Expressions .The preg_match() function searches a string for pattern, returning true if the pattern exists, and false otherwise.
Server Side Form Validation using Regular Expressions .The preg_match() function searches a string for pattern, returning true if the pattern exists, and false otherwise.
I recently needed to come up with an array of dates between two given dates. I typically work in the MySQL-compatible ‘YYYY-MM-DD’ date format, so I wanted it to use dates like that. So I came up with the following function:
A refresh Meta tag can be used in the head tags that allow for the automatic redirection of a page after a specified time. Check the code example below.
parse_url() is php function which parses a URL and returns an associative array containing any of the various components of the URL that are present.