Re: [PHP] Re: JavaScript conversion to PHP code...

2004-07-27 Thread Scott Fletcher
Good thinking... I like without the substr() because substr() take more time than we want it to be FletchSOD "Matt M." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > --snip-- > > $char_code = strpos($char_set,(substr($input,$loop,1))); > > --snip-- > > even a little shorter >

Re: [PHP] Re: JavaScript conversion to PHP code...

2004-07-26 Thread Matt M.
> --snip-- > $char_code = strpos($char_set,(substr($input,$loop,1))); > --snip-- even a little shorter $char_code = strpos($char_set,$input{$loop}); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php