CakeFest 2025 Madrid: The Official CakePHP Conference

Voting

: min(seven, five)?
(Example: nine)

The Note You're Voting On

luc _ santeramo at t yahoo dot com
15 years ago
If you want to validate an email in one line, use filter_var() function !
http://fr.php.net/manual/en/function.filter-var.php

easy use, as described in the document example :
var_dump(filter_var('[email protected]', FILTER_VALIDATE_EMAIL));

<< Back to user notes page

To Top