On Thu, 12 Jan 2006 16:56:43 +0200 "William Stokes" <kalles@xxxxxxxxxxxxx> 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:
pgpvlvB7sEH7r.pgp
Description: PGP signature