Posted by Mladen Gogala on 06/12/06 03:35
On Sun, 11 Jun 2006 15:52:55 -0400, maya wrote: > also how do you test for length of a string? I tried: > > if (strlen($myName) == 7) { > > but got error... No errors here. May be you tried with a fake id? $ php -r '$myName="Mladen"; if (strlen($myName)==6) { echo "Works\n"; }' Works -- http://www.mgogala.com
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming