I was creating a function to validate large text fields (description, observation, ...), which in SQL will be saved as TEXT , so basically I did this:
function($valor, $min = 0, $max = 65000) {
if (strlen($valor) >= $min || strlen...
asked by
28.09.2018 / 15:37