On Thu, 12 Jan 2006 16:56:43 +0200
"William Stokes" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> I need to check that user input text is less than 300 characters
> long. How?

if(strlen($UserInputText) > 300){
        echo("Too long");
}

See http://www.php.net/manual/en/print/function.strlen.php

Regards,
Ozz.

Attachment: pgpeKLczT0L1F.pgp
Description: PGP signature

Reply via email to