Posted by Jerry Stuckle on 07/15/06 13:05
vito wrote:
>> $a[$i] = array();
>
> Is the above declaration legitimate?
>
as long as $a is defined as an array, yes.
> Furthermore,
> $array[$i][1] = $array[$i][1] . $line;
>
> PHP Notice: Undefined offset: 2700 in array.php on line 16
>
>
Looks like $i contains 2700. Have you initialized this element?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|