Test Foro de elhacker.net SMF 2.1

Programación => Desarrollo Web => PHP => Mensaje iniciado por: ganondolf en 24 Abril 2012, 20:56 PM

Título: Validar MaxLenght
Publicado por: ganondolf en 24 Abril 2012, 20:56 PM
queria ver la posibilidad de poder comprobar un maxlength en php

si fuera hasi como se comprobaria?

el maxlength de un input.
Título: Re: Validar MaxLenght
Publicado por: Shell Root en 25 Abril 2012, 06:35 AM
Código (php) [Seleccionar]
int strlen ( string $string )
:http://php.net/manual/es/function.strlen.php