I'm trying to validate a time field in PHP, and with the help this topic on an external site I came across this script:
function validaHoras($campo){
if (preg_match('/^[0-9]{2}:[0-9]{2}$/', $campo)) {
$horas = substr($campo, 0, 2...
asked on
21.04.2017 / 21:43