[PHP] Cannot index a string index - Why?

2001-08-23 Thread torek
ex" on line "$struct[$i][$j] = explode("<|||>",$tmp2[$j]);" I've done similar things quite often, but this is the first time I get this warning. Any Ideas, Thanks Torek -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: Cannot index a string index - Why?

2001-08-27 Thread torek
> > if ($var){ > > $tmp = explode("<|>",$vars); > > for ($i = 0; $i < sizeof($tmp); $i++){ > > $struct[$i] = array(); > > You really don't need this line... > > > $tmp2 = explode("<||>",$tmp[$i]); > > for ($j = 0; $j < sizeof($tmp2);$j++){ > > Try assigning $tmp3 =