|
Posted by Els on 12/21/06 17:10
-Lost wrote:
> Exactly. You are missing a ) though.
Yup - noted, thanks.
>> PHP.net gave a caution about the range() function:
>> "In PHP versions 4.1.0 through 4.3.2, range() sees numeric strings as
>> strings and not integers. Instead, they will be used for character
>> sequences. For example, "4242" is treated as "4"."
>>
>> Would that cause trouble if I'd have
>> $array = range(31,47);
>> ?
>
> That would cause problems only if you passed strings to range() instead of integers.
As in range('31','47')?
What defines a string - the quotes?
--
Els http://locusmeus.com/
Navigation:
[Reply to this message]
|