[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 = $tmp2[$j] and using $tmp3

[PHP] Cannot index a string index - Why?

2001-08-23 Thread torek
. 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]