No Content Found
Function
# Php Function
⨀ 29-Jul-2024 05:02:00 PM
PHP Built-in Functions
PHP has over 1000 built-in functions that can be called directly, from within a script, to perform a specific task.
Please check out our PHP reference for a complete overview of the PHP built-in functions.
# Php - Validate E-Mail
⨀ 01-Aug-2024 07:38:50 AM
The easiest and safest way to check whether an email address is well-formed is to use PHP's filter_var() function.
In the code below, if the e-mail address is not well-formed, then store an error message:
# Php - Validate Name
⨀ 01-Aug-2024 07:07:58 AM
The code below shows a simple way to check if the name field only contains letters, dashes, apostrophes and whitespaces.
# Php - Validate Url
⨀ 01-Aug-2024 08:56:03 AM
The code below shows a way to check if a URL address syntax is valid (this regular expression also allows dashes in the URL).